(dialog_title, msg, [...button]) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
Parameters dialog_title
msg
[...button] |
|
Sample
//show dialog
var thePressedButton = plugins.dialogs.showErrorDialog('Title', 'Value not allowed','OK');
|
|
|
|
|
(dialog_title, msg, [...button]) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
Parameters dialog_title
msg
[...button] |
|
Sample
//show dialog
var thePressedButton = plugins.dialogs.showInfoDialog('Title', 'Value not allowed','OK');
|
|
|
|
|
(dialog_title, msg, [initialValue]) |
|
|
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled. |
|
Parameters dialog_title
msg
[initialValue] |
|
Sample
//show input dialog ,returns nothing when canceled
var typedInput = plugins.dialogs.showInputDialog('Specify','Your name');
|
|
|
|
|
(dialog_title, msg, [...button]) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
Parameters dialog_title
msg
[...button] |
|
Sample
//show dialog
var thePressedButton = plugins.dialogs.showQuestionDialog('Title', 'Value not allowed','OK');
|
|
|
|
|
(dialog_title, msg, optionArray/option1, [...option]) |
|
|
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled. |
|
Parameters dialog_title
msg
optionArray/option1
[...option] |
|
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, [...button]) |
|
|
Shows a message dialog with the specified title, message and a customizable set of buttons. |
|
Parameters dialog_title
msg
[...button] |
|
Sample
//show dialog
var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed','OK');
|
|
|
|
|
|