(dialogTitle, dialogMessage, buttonsText) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
|
Parameters {String} dialogTitle - Dialog title. {String} dialogMessage - Dialog message. {String...} buttonsText - Array of button texts. |
|
|
Sample //show dialog
var thePressedButton = plugins.dialogs.showErrorDialog('Title', 'Value not allowed','OK'); |
|
|
|
|
(dialogTitle, dialogMessage, buttonsText) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
|
Parameters {String} dialogTitle - Dialog title. {String} dialogMessage - Dialog message. {String...} buttonsText - Array of button texts. |
|
|
Sample //show dialog
var thePressedButton = plugins.dialogs.showInfoDialog('Title', 'Value not allowed','OK'); |
|
|
|
|
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. |
|
|
Sample //show input dialog ,returns nothing when canceled
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name'); |
|
|
|
|
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. |
|
|
Sample //show input dialog ,returns nothing when canceled
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name'); |
|
|
|
|
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. |
|
|
Sample //show input dialog ,returns nothing when canceled
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name'); |
|
|
|
|
(dialog_title, msg, initialValue) |
|
|
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. |
|
|
Sample //show input dialog ,returns nothing when canceled
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name'); |
|
|
|
|
(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. |
|
|
Sample //show dialog
var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK'); |
|
|
|
|
(dialogTitle, dialogMessage, buttonsText) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
|
Parameters {String} dialogTitle - Dialog title. {String} dialogMessage - Dialog message. {String...} buttonsText - Array of button texts. |
|
|
Sample //show dialog
var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK'); |
|
|
|
|
(dialog_title, msg, optionArray) |
|
|
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled. |
|
|
Sample //show select,returns nothing when canceled
var selectedValue = plugins.dialogs.showSelectDialog('Select','please select a name','jan','johan','sebastiaan');
//also possible to pass array with options
//var selectedValue = plugins.dialogs.showSelectDialog('Select','please select a name', new Array('jan','johan','sebastiaan')); |
|
|
|
|
(dialog_title, msg, options) |
|
|
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled. |
|
|
Sample //show select,returns nothing when canceled
var selectedValue = plugins.dialogs.showSelectDialog('Select','please select a name','jan','johan','sebastiaan');
//also possible to pass array with options
//var selectedValue = plugins.dialogs.showSelectDialog('Select','please select a name', new Array('jan','johan','sebastiaan')); |
|
|
|
|
(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. |
|
|
Sample //show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed'); |
|
|
|
|
(dialogTitle, dialogMessage, buttonsText) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
|
Parameters {String} dialogTitle - Dialog title. {String} dialogMessage - Dialog message. {String...} buttonsText - Array of button texts. |
|
|
Sample //show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed','OK'); |
|
|
|
|
|