8.7 released—WinterCG Compliance Part 1
Learn more
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