toastr 1.1.3
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.
See the version list below for details.
Install-Package toastr -Version 1.1.3
dotnet add package toastr --version 1.1.3
<PackageReference Include="toastr" Version="1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add toastr --version 1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: toastr, 1.1.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.1.3
// Install toastr as a Cake Tool
#tool nuget:?package=toastr&version=1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
Added AMD support (and backwards compat with non AMD), toastr.clear() method clears 1 or all toasts, optionsOverride API to be able to override options for each toast, added onclick callback option which fires when a user clicks the toast. Also cleaned CSS, merged CSS files into 1 file, and reduced jQuery dependency to v1.6.3
Dependencies
-
- jQuery (>= 1.6.3)
Used By
NuGet packages
This package is not used by any NuGet packages.
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.0.3 | 0 | 06.02.2022 |
| 2.0.2 | 0 | 06.02.2022 |
| 2.0.1 | 0 | 06.02.2022 |
| 2.0.0-rc1 | 0 | 06.02.2022 |
| 1.3.1 | 0 | 06.02.2022 |
| 1.3.0 | 0 | 06.02.2022 |
| 1.2.2 | 0 | 06.02.2022 |
| 1.2.1 | 0 | 06.02.2022 |
| 1.2.0 | 0 | 06.02.2022 |
| 1.1.5 | 0 | 06.02.2022 |
| 1.1.4.2 | 0 | 06.02.2022 |
| 1.1.4.1 | 0 | 06.02.2022 |
| 1.1.4 | 0 | 06.02.2022 |
| 1.1.3 | 0 | 06.02.2022 |
| 1.1.2 | 0 | 06.02.2022 |
| 1.1.1 | 0 | 06.02.2022 |
| 1.1.0 | 0 | 06.02.2022 |
| 1.0.3 | 0 | 06.02.2022 |
| 1.0.2 | 0 | 06.02.2022 |
| 1.0.1 | 0 | 06.02.2022 |
| 1.0.0 | 0 | 06.02.2022 |