Description: Creates a new notification message.
Parameters:
@message {String or DOMElement} Message content @type {String} Type of the notification message (CSS class name 'ajs-{type}' to be added) @wait {Number} Time (in seconds) to wait before the message is dismissed, a value of 0 means keep open till clicked. @callback {Function} A callback function to be invoked when the message is dismissed.
@message {String or DOMElement} Message content
{String or DOMElement}
@type {String} Type of the notification message (CSS class name 'ajs-{type}' to be added)
{String}
@wait {Number} Time (in seconds) to wait before the message is dismissed, a value of 0 means keep open till clicked.
{Number}
@callback {Function} A callback function to be invoked when the message is dismissed.
{Function}
//using custom CSS // .ajs-message.ajs-custom { color: #31708f; background-color: #d9edf7; border-color: #31708f; } alertify.notify('custom message.', 'custom', 2, function(){console.log('dismissed');});