ContextMenuPopupEvent

The argument for the events of the ContextMenu popup.

originalEvent any

The DOM event that started the action.

sender ContextMenuComponent

The ContextMenuComponent that triggered the event.

target any

The target element for which the ContextMenu is opened.

Methods

isDefaultPrevented

Returns true if the event was prevented
by any of its subscribers.

Returns

boolean true if the default action was prevented.
Otherwise, returns false.

preventDefault

Prevents the default action for a specified event.
In this way, the source component suppresses
the built-in behavior that follows the event.