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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »


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