9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Defined in: ui/dialogs/index.d.ts:200

Provides options for the alert.

Extends

Extended by

Properties

cancelable?

ts
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.

Inherited from

DialogOptions.cancelable


message?

ts
optional message?: string;

Defined in: ui/dialogs/index.d.ts:194

Gets or sets the dialog message.

Inherited from

DialogOptions.message


okButtonText?

ts
optional okButtonText?: string;

Defined in: ui/dialogs/index.d.ts:204

Gets or sets the OK button text.


theme?

ts
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

Inherited from

DialogOptions.theme


title?

ts
optional title?: string;

Defined in: ui/dialogs/index.d.ts:189

Gets or sets the dialog title.

Inherited from

DialogOptions.title