Preview 2.0 is now in Public Beta!
Read the Announcement
Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
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