Child pages
  • dialogs
Skip to end of metadata
Go to start of metadata



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

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

Sample

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



  • No labels