Mootify 0.1

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.



Details

Author
vanita5
Current version
0.1
GitHub
vanita5/Mootify
Downloads
1946
Category
Interface
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: MooTools Core

How to use

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'
});

Discuss

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