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!

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) {
         if(isClicked)
             console.log('notification dismissed by user');
         else
             console.log('notification auto-dismissed');
 };