blockly > ContextMenuRegistry > ContextMenuOption
ContextMenuRegistry.ContextMenuOption interface
A menu item as presented to contextmenu.js.
Signature:
interface ContextMenuOption
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
callback | (p1: Scope) => void | ||
enabled | boolean | ||
scope | Scope | ||
text | string | HTMLElement | ||
weight | number |