OptionalcontextArbitrary context object passed to item callbacks and resolvers.
OptionalenabledWhether the menu starts enabled.
Defaults to true.
OptionalhideWhether to hide the menu after an item action runs.
Defaults to true.
OptionalhideWhether to hide the menu when a pointer-down occurs outside a menu item.
Defaults to true.
OptionalitemsRoot menu item groups.
OptionalparentParent DOM node that receives menu elements.
Defaults to document.body.
OptionaltitleStatic title for the root menu.
Configuration for ContextMenu.