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.

delay ( wait ) chainable


Description: Sets the notification message delay

Parameters:

@wait {Number} The time (in seconds) to wait before the notification is auto-dismissed. 0 will keep it open till clicked.

 var msg = alertify.message('Default message');
 msg.delay(3).setContent('Wait time updated to 3 Seconds');