CloseEventArgs
Interface represents the event arguments for the beforeClose
and close
event.
Properties
cancel Boolean
Gets or sets a value indicating whether we should cancel the operation or not.
closedBy String
Gets a value indicating if the dialog was closed by the close icon, an overlay click, escape, or an user action.
container HTMLElement
Gets the root container element of the dialog.
element Element
Gets the HTML element of the dialog.
event Event
Returns the original event arguments.
isInteracted Boolean
Gets a value indicating whether the event was triggered by user interaction or from another event.
name String
Defines the name of the event.
target String HTMLElement
Gets the target element of the dialog.