toastr 1.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package toastr --version 1.3.1
NuGet\Install-Package toastr -Version 1.3.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: toastr, 1.3.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install toastr as a Cake Addin
#addin nuget:?package=toastr&version=1.3.1

// Install toastr as a Cake Tool
#tool nuget:?package=toastr&version=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 are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on toastr:

Repository Stars
BlogEngine/BlogEngine.NET
Multi-User ASP.NET Blogging Application
laochiangx/ABP-ASP.NET-Boilerplate-Project-CMS
ABP module-zero +AdminLTE+Bootstrap Table+jQuery+Redis + sql server+quartz+hangfire权限管理系统
pnp/PnP-Tools
Scripts and tools for Office 365 and SharePoint - More for IT Pro's
jongio/AngularJS-WebApi-EF
AngularJS CRUD Grid with WebApi, EF, Bootstrap, Font Awesome & Toastr
Version Downloads Last updated
2.1.1 41,578 3/13/2015
2.1.0 39,174 11/15/2014
2.0.3 81,321 5/17/2014
2.0.2 3,749 4/29/2014
2.0.1 28,857 9/11/2013
1.3.1 10,300 6/4/2013
1.3.0 3,104 5/9/2013
1.2.2 5,617 3/1/2013
1.1.4.2 960 2/5/2013
1.1.3 80 2/2/2013
1.1.2 1,490 12/24/2012
1.1.1 1,207 11/8/2012
1.0.3 87 11/8/2012
1.0.2 851 7/25/2012
1.0.1 58 7/23/2012
1.0.0 60 5/13/2012
1.0.0-beta3 49 5/2/2012
1.0.0-beta 46 5/1/2012

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.