Toastr Component Documentation

Description

Toastr is a Javascript library for Gnome / Growl type non-blocking notifications.

Initialization

Initialize the plugin by referencing the necessary files:

<script src="toastr.js"></script>
<link rel="stylesheet" type="text/css" href="toastr.css">

Code Structure

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?')