An alert dialog is often used if you want to make sure information comes through to the user.
When an alert dialog pops up, the user will have to click "OK" to proceed.
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.
set
(
key,
value
)
chainable
Description: Sets dialog settings/options.
Parameters:
@key {String or Object} A string specifying a setting/option key or object holding key/value pairs.
@value {Optional} The value associated with the key (in case it was a string).
// set a single setting/option
alertify.alert().set('modal', false).show();
// set multiple settings/options
alertify.alert().set({'modal':false, 'closable':false});
Remarks
This method is an alias for .setting() method set mode.