Notifier

Unobtrusive notification messages can be used to give feedback to users.
Looking for a commercial license ? Keep your source code proprietary and Buy a Commercial License Today!

message ( message, wait, callback )


Description: Creates a new notification message.

Parameters:

@message {String or DOMElement} Message content

@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.

 alertify.message('Standard notification message.');
 // a delay value of 0 will keep this open
 alertify.message('Will stay open till clicked.', 0);