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