Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
interface CancelableOptions {
  cancelable: boolean;
  theme: number;
}
Provides options for the dialog.

Summary

Properties

cancelable
theme

Properties

cancelable

cancelable?: boolean
[Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog.

theme

theme?: number
[Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style