This plugin provides access to some native dialog UI elements.
Shows a custom alert or dialog box. Most Cordova implementations use a native dialog box for this feature, but some platforms use the browser's alert function, which is typically less customizable.
Dialog message.
Callback to invoke when alert dialog is dismissed.
Dialog title, defaults to 'Alert'.
Button name, defaults to OK.
The device plays a beep sound.
The number of times to repeat the beep.
Displays a customizable confirmation dialog box.
Dialog message.
Callback to invoke with index of button pressed (1, 2, or 3) or when the dialog is dismissed without a button press (0).
Dialog title, defaults to Confirm.
Array of strings specifying button labels, defaults to [OK,Cancel].
Displays a native dialog box that is more customizable than the browser's prompt function.
Dialog message.
Callback to invoke when a button is pressed.
Dialog title, defaults to "Prompt".
Array of strings specifying button labels, defaults to ["OK","Cancel"].
Default textbox input value, default: "".
Vibrates the device for the specified amount of time.
Milliseconds to vibrate the device. Ignored on iOS.