blockly > ShortcutRegistry > KeyboardShortcut > callback

Proprietà ShortcutRegistry.KeyboardShortcut.callback

La funzione da chiamare quando viene richiamato il comando rapido.

Firma:

callback?: (workspace: WorkspaceSvg, e: Event, shortcut: KeyboardShortcut, scope: Scope) => boolean;