DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

Enter additional information related to this 'class' inside the {div} macro with 'id=description'



Method Summary
String
showQuestionDialog(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.
String
showWarningDialog(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.



Method Details

showQuestionDialog

String
showQuestionDialog
(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.

Parameters

{String} dialogTitle - Dialog title.
{String} dialogMessage - Dialog message.

Returns

String

Sample

//show dialog
var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK');
 

showWarningDialog

String
showWarningDialog
(dialogTitle, dialogMessage)
Shows a message dialog with the specified title, message and a customizable set of buttons.

Parameters

{String} dialogTitle - Dialog title.
{String} dialogMessage - Dialog message.

Returns

String

Sample

//show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed');