blockly > ShortcutRegistry > KeyboardShortcut > preconditionFn

Propriedade ShortcutsRegistry.KeyboardAtalho.preconditionFn.

Signature:

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