blockly > KeyboardMover > setAllowedShortcuts
KeyboardMover.setAllowedShortcuts() method
Adds shortcuts with the given names to the list of shortcuts that are allowed to be run while a keyboard-driven move is in progress.
Signature:
setAllowedShortcuts(shortcutNames: string[]): void;
Parameters
Parameter | Type | Description |
|---|---|---|
shortcutNames | string[] |
Returns:
void