Mootify implements the HTML5 API for different browsers packed as a MooTools Plugin.
It basically just wraps HTML5-Desktop-Notifications by @ttsvetko as a MooTools class.
Mootify is pretty easy to use. NOTE: You can also check out the index.html which contains an example on how to fire a notification upon an event.
//Initialize with default options var mootify = new Mootify({ autoClose: 4000, //4 seconds icon: 'images/icon.ico' }); //Create Notification. Options are optional //if they have been set before mootify.createNotification({ title: 'BOOM!', body: 'You clicked Fire' });
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus