/meteor-toastr

Toastr JavaScript library for Gnome / Growl type non-blocking notifications, packaged for Meteor.

Primary LanguageJavaScriptMIT LicenseMIT

Meteor toastr

Gnome / Growl type non-blocking notifications.

Current Version

2.1.0 Build Status

Usage

Use toastr to display notifications for info, success, warning and errors.

  // Display a warning toast, with no title
  toastr.warning(msg);

  // Display a success toast, with a title
  toastr.success(msg, title);

  // Display an error toast, with a title
  toastr.error(msg, title);

  // Clears the current list of toasts
  toastr.clear()

Demo

To explore additional options, try the demo.

Attribution

This package utilizes the toastr library authored by John Papa and Hans Fjällemark.

License

The MIT License (MIT)
Copyright (c) 2013 Chris Beckett