MenuCloseEventArgs

12 Sep 20251 minute to read

Interface for MenuClose event arguments.

Properties

cancel boolean

If you want to cancel this event then, set cancel to true. Otherwise, false.

element HTMLElement

Returns the current context menu element.

event Event

Specifies the actual event.

fileDetails Object[]

Returns the target folder/file item as an array of JSON object.

isFocused boolean

Returns whether the current context menu is focused or not.

items MenuItemModel[]

Returns the current context menu items as JSON object.

Returns the current context menu type based on current target.

parentItem MenuItemModel

Returns the parent context menu item as JSON object.