Toastr – Simple javascript toast notifications for UI design
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
- //cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.js
- //cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.css
Minified
- //cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js
- //cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css
Quick start
3 Easy Steps
For other API calls, see the demo.
- Link to toastr.css
<link href="toastr.css" rel="stylesheet"/>
- Link to toastr.js
http://toastr.js
- 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
Website:Â http://codeseven.github.io/toastr/
Demo:Â http://codeseven.github.io/toastr/demo.htmlÂ
Thanks for reading,
Web Editor