Getting Started
npm install Note.js --save // npm
bower install Note.js --save // bower
// Start by creating an instance. Overriding default config is optional
const note = new Note({}); // Note
Then,
note.success(title, content, config);
note.info(title, content, config);
note.warning(title, content, config);
note.error(title, content, config);
Where:title
can be omitted by passing in null or an empty String;content
can be a string (incl. HTML), or an HTML Element, and config
is an objectPer-Notification Config Options
{
sticky: false // or true
}