Skip to main content

Home > blockly > IKeyboardAccessible > onShortcut

IKeyboardAccessible.onShortcut() method

Handles the given keyboard shortcut.

Signature:

onShortcut(shortcut: KeyboardShortcut): boolean;

Parameters

ParameterTypeDescription
shortcutKeyboardShortcutThe shortcut to be handled.

Returns:

boolean

True if the shortcut has been handled, false otherwise.