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. Toastr will supply default animations, so you do not have to provide any of these settings. However you have the option to override the animations if you like. Optionally override the animation easing to show or hide the toasts. Default is swing. swing and linear are built into jQuery. Use the jQuery show/hide method of your choice. These default to fadeIn/fadeOut. The methods fadeIn/fadeOut, slideDown/slideUp, and show/hide are built into jQuery. Rather than having identical toasts stack, set the preventDuplicates property to true. Duplicates are matched to the previous toast based on their message content. Control how toastr interacts with users by setting timeouts appropriately. Visually indicate how long before a toast expires.

Features

  • Display a warning toast, with no title
  • Display a success toast, with a title
  • Display an error toast, with a title
  • Remove current toasts without using animation
  • Remove current toasts using animation
  • Override global options

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow toastr

toastr Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of toastr!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2021-05-27