Search results

BeforeCloseEventArgs API in React Dialog API component

Provides information about a BeforeClose event.

Properties

cancel

boolean

Defines whether the current action can be prevented.

closedBy

string

Returns whether the dialog, is closed by “close icon”, “overlayClick”, “escape” and “user action”

container

HTMLElement

Returns the root container element of the dialog.

event

Event

Returns the original event arguments.

isInteracted

boolean

Determines whether the event is triggered by interaction.

target

HTMLElement | string

Returns the target element of the dialog.