blockly > ContextMenuRegistry > ActionRegistryItem
ContextMenuRegistry.ActionRegistryItem interface
A representation of a normal, clickable menu item in the registry.
Signature:
interface ActionRegistryItem extends CoreRegistryItem
Extends: CoreRegistryItem
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(scope: Scope, menuOpenEvent: Event, menuSelectEvent: Event, location: Coordinate) => void | |||
((p1: Scope) => string | HTMLElement) | string | HTMLElement | |||
(p1: Scope, menuOpenEvent: Event) => string | |||
never | (Optional) |