Toastr 2.0.2 is now available on Bower, NuGet and CDNJS! We're thrilled that toastr has been so helpful to many of you as it now has almost 150,000 downloads on NuGet and 1600+ stars on github!

This release has several minor bug fixes and some new features. For details you can check out the changelog. Of course there are new unit tests for all of these too.

Get Toastr

Learning Toastr

The Toastr demo page is also updated to help demonstrate the features.

New Features

  • Added simple ARIA reader support
  • Added SASS support

Bug Fixes

  • Added sourcemap for the min file
  • IE 8 does not support stopPropagation on the event
  • Media query width fixes
  • Fix of onHidden firing twice when clicking on it then moving mouse out of toast
  • Clear all toasts followed by a new toast now displays correctly

Contributions

Thanks to the community for their contributions to Toastr as always. This version had pull requests accepted from Darren Haken, Greta Krafsig, and ddotm.

I am always happy to consider pull requests for toastr provided that they are for a compelling new feature or a bug fix, and they include a unit test. I reserve the right to choose which come into toastr so the product stays true to its core, which is to be a lightweight alerting library.