| title | PromptOptions |
|---|---|
| titleTemplate | title - API / NativeScript |
| description | Provides options for the prompt dialog. |
| contributors | false |
Defined in: ui/dialogs/index.d.ts:225
Provides options for the prompt dialog.
optional cancelable?: boolean;Defined in: ui/dialogs/index.d.ts:144
[Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog.
optional cancelButtonText?: string;Defined in: ui/dialogs/index.d.ts:214
Gets or sets the Cancel button text.
ConfirmOptions.cancelButtonText
optional capitalizationType?: string;Defined in: ui/dialogs/index.d.ts:239
Gets or sets the prompt capitalizationType (none, all, sentences, or words).
optional defaultText?: string;Defined in: ui/dialogs/index.d.ts:229
Gets or sets the default text to display in the input box.
optional inputType?: string;Defined in: ui/dialogs/index.d.ts:234
Gets or sets the prompt input type (plain text, password, or email).
optional message?: string;Defined in: ui/dialogs/index.d.ts:194
Gets or sets the dialog message.
optional neutralButtonText?: string;Defined in: ui/dialogs/index.d.ts:219
Gets or sets the neutral button text.
ConfirmOptions.neutralButtonText
optional okButtonText?: string;Defined in: ui/dialogs/index.d.ts:204
Gets or sets the OK button text.
optional theme?: number;Defined in: ui/dialogs/index.d.ts:149
[Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style
optional title?: string;Defined in: ui/dialogs/index.d.ts:189
Gets or sets the dialog title.