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!

All of AlertifyJS animation/transition effects are disabled due to user preference that the system minimizes the amount of animation or motion it uses. See prefers-reduced-motion CSS media feature.

success ( message, wait, callback )


Description: Creates a new notification message of type 'success'

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.success('Success notification message.');