chrismbeckett:toastr

v2.1.2Published 10 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

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.

1  // Display a warning toast, with no title
2  toastr.warning(msg);
3
4  // Display a success toast, with a title
5  toastr.success(msg, title);
6
7  // Display an error toast, with a title
8  toastr.error(msg, title);
9
10  // Clears the current list of toasts
11##  toastr.clear()

How to Install

  meteor add chrismbeckett:toastr

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