blockly >ContextMenuRegistry >旧版上下文菜单选项 >LegacyContextMenuOption回调

ContextMenuRegistry.LegacyContextMenuOption.callback 属性

Signature:

callback: (p1: Scope) => void;