blockly > ContextMenuRegistry

ContextMenuRegistry namespace

Signature:

export declare namespace ContextMenuRegistry 

Enumerations

Enumeration Description
ScopeType Where this menu item should be rendered. If the menu item should be rendered in multiple scopes, e.g. on both a block and a workspace, it should be registered for each scope.

Interfaces

Interface Description
ContextMenuOption A menu item as presented to contextmenu.js.
LegacyContextMenuOption A subset of ContextMenuOption corresponding to what was publicly documented. ContextMenuOption should be preferred for new code.
RegistryItem A menu item as entered in the registry.
Scope The actual workspace/block where the menu is being rendered. This is passed to callback and displayText functions that depend on this information.