Saturday, March 23, 2013

toastr.js: Simple JavaScript Notifications

Simple JavaScript Notifications with toastr | John Papa


@ GitHub
Demo

// Display a info toast, with no title
toastr.info('...')
// Display a warning toast, with no title
toastr.warning('...')
// Display a success toast, with a title
toastr.success('...', '...')
// Display an error toast, with a title
toastr.error('...', '...')

No comments: