| title | ActionOptions |
|---|---|
| titleTemplate | title - API / NativeScript |
| description | Provides options for the dialog. |
| contributors | false |
Defined in: ui/dialogs/index.d.ts:155
Provides options for the dialog.
optional actions?: string[];Defined in: ui/dialogs/index.d.ts:174
Gets or sets the list of available actions.
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:169
Gets or sets the Cancel button text.
optional destructiveActionsIndexes?: number[];Defined in: ui/dialogs/index.d.ts:179
[iOS only] Gets or sets the indexes of destructive actions.
optional message?: string;Defined in: ui/dialogs/index.d.ts:164
Gets or sets the dialog message.
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:159
Gets or sets the dialog title.