blockly > ContextMenuRegistry > Scope

ContextMenuRegistry.Scope interface

The actual workspace/block where the menu is being rendered. This is passed to callback and displayText functions that depend on this information.

Signature:

interface Scope 

Properties

Property Modifiers Type Description
block? BlockSvg (Optional)
comment? RenderedWorkspaceComment (Optional)
workspace? WorkspaceSvg (Optional)