toastr 1.3.1

3 Easy Steps:

(1) Link to toastr.css  
(2) Link to toastr.js
(3) Use toastr to display a toast for info, success, warning or error

// Display an info toast with no title
toastr.info('Are you the 6 fingered man?')

*** For other API calls, see the demo

There is a newer version of this package available.
See the version list below for details.
Install-Package toastr -Version 1.3.1
dotnet add package toastr --version 1.3.1
<PackageReference Include="toastr" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add toastr --version 1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v.1.3.1
Added new API for toastr.subscribe so you can be alerted when toasts appear and disappear.

toastr.subscribe(function (args) {
   // args contains the toast options and data
}

Added support for glimpse.toastr.js plugin. https://github.com/johnpapa/glimpse.toastr

Added toastId, state (visible/hidden),  startTime and endTime to the toastr info response (available in the coneol, glimpse.toastr plugin, or via the subscribe callback).

Fixed bug with stacking toasts when clear all toasts occurs first.

v1.2.2

Added onFadeIn and onFadeOut callbacks.
 toastr.options.onFadeIn = function() { console.log('hello'); }
Added option <code>newestOnTop</code> to show toasts in oldest or newest first order.
 toastr.options.newestOnTop = false;
Fixed margins on full width toasts
Added LESS file.
Added min file for JS and CSS
Added missing vendor prefixes in CSS.
Various minor bug fixes.
Added unit tests for new features.

Showing the top 5 GitHub repositories that depend on toastr:

Repository Stars
rxtur/BlogEngine.NET
Multi-User ASP.NET Blogging Application
Jimmey-Jiang/ABP-ASP.NET-Boilerplate-Project-CMS
ABP module-zero +AdminLTE+Bootstrap Table+jQuery+Redis + sql server+quartz+hangfire权限管理系统
SharePoint/PnP-Tools
Scripts and tools for Office 365 and SharePoint - More for IT Pro's
aspnetboilerplate/eventcloud
Sample SaaS (Multi Tenant) Event Management Application
jongio/AngularJS-WebApi-EF
AngularJS CRUD Grid with WebApi, EF, Bootstrap, Font Awesome & Toastr

Version History

Version Downloads Last updated
2.1.1 1,339,700 3/13/2015
2.1.0 92,487 11/15/2014
2.0.3 263,387 5/17/2014
2.0.2 14,285 4/29/2014
2.0.1 250,849 9/11/2013
1.3.1 53,351 6/4/2013
1.3.0 15,929 5/9/2013
1.2.2 62,396 3/1/2013
1.1.4.2 5,214 2/5/2013
1.1.3 1,337 2/2/2013
1.1.2 17,838 12/24/2012
1.1.1 10,682 11/8/2012
1.0.3 1,512 11/8/2012
1.0.2 7,477 7/25/2012
1.0.1 556 7/23/2012
1.0.0 1,072 5/13/2012
1.0.0-beta3 488 5/2/2012
1.0.0-beta 467 5/1/2012
Show less