Stay organized with collections Save and categorize content based on your preferences.

blockly > ShortcutRegistry > KeyboardShortcut

ShortcutRegistry.KeyboardShortcut interface

Signature:

interface KeyboardShortcut 

Properties

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