BeforeOpenEventArgs

12 Sep 20251 minute to read

Provides information about a BeforeOpen event.

Properties

cancel boolean

Defines whether the current action can be prevented.

container HTMLElement

Returns the root container element of the dialog.

element Element

Returns the element of the dialog.

maxHeight string

Specify the value to override max-height value of dialog.

target HTMLElement|string

Returns the target element of the dialog.