blockly > ContextMenuRegistry > LegacyContextMenuOption

ContextMenuRegistry.LegacyContextMenuOption interface

A subset of ContextMenuOption corresponding to what was publicly documented. ContextMenuOption should be preferred for new code.

Signature:

interface LegacyContextMenuOption 

Properties

Property Modifiers Type Description
callback (p1: Scope) => void
enabled boolean
text string