blockly > IKeyboardAccessible > onShortcut

IKeyboardAccessible.onShortcut() method

Handles the given keyboard shortcut.

Signature:

onShortcut(shortcut: KeyboardShortcut): boolean;

Parameters

Parameter Type Description
shortcut KeyboardShortcut The shortcut to be handled.

Returns:

boolean

True if the shortcut has been handled, false otherwise.