Toastr

Simple javascript toast notifications

View project onGitHub

toastr

toastr is a Javascript library for Gnome / Growl type non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.

Demo

Demo can be found at http://codeseven.github.io/toastr/demo.html

CDNjs

Toastr is hosted at CDN JS

Debug

Minified

NuGet Gallery

http://nuget.org/packages/toastr

Bower

bower install toastr

Quick start

3 Easy Steps

For other API calls, see the demo.

  1. Link to toastr.css <link href="toastr.css" rel="stylesheet"/>

  2. Link to toastr.js <script src="toastr.js"></script>

  3. use toastr to display a toast for info, success, warning or error

    // Display an info toast with no title
    toastr.info('Are you the 6 fingered man?')
    

Authors

Hans Fjällemark

John Papa

Tim Ferrell

Credits

Inspired by https://github.com/Srirangan/notifer.js/.

Copyright

Copyright © 2012-2014 Hans Fjällemark, John Papa & Tim Ferrell.

License

toastr is under MIT license - http://www.opensource.org/licenses/mit-license.php