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.
Description: Dismisses all open notifications.
Parameters: none
clearTimeout(window.timeout); alertify.success('Success', 0) && alertify.error('Error', 0) window.timeout = setTimeout(function(){ alertify.dismissAll(); },2000);
To distinguish between an auto-dismiss event or a click event, the callback is passed a boolean flag indicating if the message was clicked.