blockly > ShortcutRegistry > KeyboardShortcut > callback

Properti ShortcutRegistry.KeyboardShortcut.callback

Fungsi yang akan dipanggil saat pintasan dipanggil.

Tanda Tangan:

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