blockly >ShortcutRegistry>KeyboardShortcut >preconditionFn

ShortcutRegistry.键盘快捷键.preconditionFn 属性

Signature:

preconditionFn?: (p1: WorkspaceSvg) => boolean;