Skip to content

riyaz-ali/notifyjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NotifyJS

A Java Script Notification plugin. Implements Google Material Design Snackbar Design Specs.

Usage

//Basic usage
notify("Notification Text goes here");

//Advanced Usage
notify("Advanced Notification", {duration: 2500, onAction: actionHandler, onFinish: finishHandler});

Settings

  • duration: Duration of the notification (default - 5 seconds)
  • onAction: fired when the notification object is clicked
  • onFinish: fired when the notification duration finsihes and the object is removed

Possible enhancements

  • Add animation while displaying Notification

About

A Java Script Notification plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published