MenuOpenEventArgs

12 Sep 20251 minute to read

Interface for MenuOpen 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.

fileDetails Object[]

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

isSubMenu boolean

Returns whether the current context menu is sub-menu or not.

items MenuItemModel[]

Returns the current context menu items as JSON object.

Returns the instance of context menu component.

Returns the current context menu type based on current target.

target Element

Returns the target element of context menu.