Skip to content

Commit

Permalink
Documentation on new features on hook function
Browse files Browse the repository at this point in the history
  • Loading branch information
DRALANTONISAINANA committed Jan 11, 2018
1 parent 5669b33 commit e8de740
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e8de740

Please sign in to comment.