OptionalcallbackLegacy alias for doAction.
OptionaldoAction invoked when the item is activated.
OptionaldoOptional action invoked when the pointer enters the item.
OptionalgetResolves whether the item is enabled for the current context.
Defaults to true.
OptionalgetResolves whether the item is shown for the current context.
Defaults to true.
OptionalgetDynamic item title resolver.
OptionalitemsNested submenu item groups.
Each inner array represents a visual group.
OptionaltitleStatic item title.
Ignored when getTitle is provided.
Configuration for a single context-menu item.