MAF.dialogs.Alert

new MAF.dialogs.Alert()

Configs

buttons : {Array}

Array of Objects with label and callback keys. Where label is a string and callback a function to execute.

cancelCallback : {function}

Function to call on cancelation of dialog.

message : {String}

Message to be displayed inside the dialog.

title : {String}

Title of the dialog.

Methods

getDialogConfig() inherited

Produces an error if a subclass does not override this method.

handleCallback() inherited

Produces an error if a subclass does not override this method.

hide() → {Class} inherited

Hide the dialog.

Returns:

This component.

initialize() inherited

Initialize the class

show() → {Class} inherited

Shows the dialog.

Returns:

This component.