blockly‏ > ShortcutRegistry‏ > KeyboardShortcut‏ > callback

המאפיין ShortcutRegistry.KeyboardShortcut.callback

הפונקציה שתופעל כשמפעילים את קיצור הדרך.

Signature:

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