-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation on new features on hook function
- Loading branch information
DRALANTONISAINANA
committed
Jan 11, 2018
1 parent
5669b33
commit e8de740
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,10 @@ Based on 'jQuery Smart Banner' by Arnold Daniels <[email protected]> https://gith | |
// , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device | ||
// , icon: '' // full path to icon image if not using website icon image | ||
// , force: 'ios' // Uncomment for platform emulation | ||
hookInstall: function(type){}, // this hook is called after install button is clicked | ||
hookShow: function(type){}, // this hook is called after the banner is displayed | ||
hookHide: function(type){}, // this hook is called after the banner is hided | ||
hookClose: function(type){}, // this hook is called after close button is closed | ||
}); | ||
</script> | ||
</body> | ||
|