blockly > ContextMenuRegistry > ScopeType

ContextMenuRegistry.ScopeType enum

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.

Signature:

enum ScopeType 

Enumeration Members

Member Value Description
BLOCK "block"
WORKSPACE "workspace"