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.

callback { Function }

Description: Gets or sets the callback function to be invoked when the notification is dismissed.

Default: undefined

 var msg = alertify.message('Open up your web console', 10);
 msg.callback = function (isClicked) {
             console.log('notification dismissed by user');
             console.log('notification auto-dismissed');