FileMenuBeforeOpenCloseEventArgs

10 Oct 20251 minute to read

Event Triggers before opening or closing the file menu.

Properties

cancel boolean

Defines whether to cancel the file menu popup opening or closing.

element HTMLElement

Provides the HTML element of the file menu popup.

event Event

Provides the actual native event.

items MenuItemModel[]

Provides the file menu item object.

name string

Specifies name of the event.

parentItem MenuItemModel

Provides the parent file menu item of the popup, in case of sub-menu.