blockly > ShortcutRegistry > KeyboardShortcut

ShortcutRegistry.KeyboardShortcut interface

Signature:

interface KeyboardShortcut 

Properties

Property Modifiers Type Description
allowCollision? boolean (Optional)
callback? (p1: WorkspaceSvg, p2: Event, p3: KeyboardShortcut) => boolean (Optional)
keyCodes? (number | string)[] (Optional)
metadata? object (Optional)
name string
preconditionFn? (p1: WorkspaceSvg) => boolean (Optional)