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 { Number }


Description: Gets or sets a value indicating the notifier default message delay (in seconds) before being auto-dismissed. 0 will means keep open till clicked.

Default: alertify.defaults.notifier.delay:5

 var delay = alertify.get('notifier','delay');
 alertify.set('notifier','delay', 10);
 alertify.success('Current delay : ' + alertify.get('notifier','delay') + ' seconds');
 alertify.set('notifier','delay', delay);