BeforePopupOpenCloseEventArgs

16 Dec 20251 minute to read

Interface that defines the arguments for before popup open and close events.
This interface is used when a popup is about to be opened or closed in the editor.
It provides information about the popup and allows cancellation of the event.

Properties

cancel boolean

Determines whether the popup open/close action should be canceled.
Set to true to prevent the popup from opening or closing.

element HTMLElement

The HTML element associated with the popup.

originalEvent Event

The original DOM event that triggered the popup action, if available.

The popup instance that is being opened or closed.

type EditorPopupType

Specifies the type of popup that is being opened or closed.