DialogBaseMixin

external interface DialogBaseMixin

Inheritors

Properties

Link copied to clipboard
abstract var keepInViewport: Boolean

Set to true to prevent the dialog from moving outside the viewport bounds. When enabled, all four edges of the dialog will remain visible, for example when dragging the dialog or when the viewport is resized. Note that the dialog will also adjust any programmatically configured size and position so that it stays within the viewport.

Link copied to clipboard
abstract var left: String

Set the distance of the dialog from the left of the viewport. If a unitless number is provided, pixels are assumed.

Link copied to clipboard
abstract var modeless: Boolean

Set to true to remove backdrop and allow click events on background elements.

Link copied to clipboard
abstract var noAutofocus: Boolean

Set to true to prevent focus from moving into the dialog on open.

Link copied to clipboard
abstract var noCloseOnEsc: Boolean

Set to true to disable closing dialog on Escape press

Link copied to clipboard

Set to true to disable closing dialog on outside click

Link copied to clipboard
abstract var noFocusTrap: Boolean

Set to true to prevent the dialog from receiving focus on open and trapping it inside.

Link copied to clipboard
abstract var opened: Boolean

True if the dialog is visible and available for interaction.

Link copied to clipboard
abstract var overlayRole: String

The role attribute value to be set on the dialog. Defaults to "dialog".

Link copied to clipboard
abstract var top: String

Set the distance of the dialog from the top of the viewport. If a unitless number is provided, pixels are assumed.