Alert Dialog

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.
Looking for a commercial license ? Keep your source code proprietary and Buy a Commercial License Today!

setting ( key, value )

Description: Gets or Sets dialog settings/options


@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().setting('modal', false).show();
 // set multiple settings/options
 alertify.alert().setting({'modal':false, 'closable':false});
 // get a setting/option value
 var isMaximizable = alertify.alert().get('maximizable');


A separate .get() and .set() aliases are also available.