blockly > ShortcutRegistry > removeAllKeyMappings
ShortcutRegistry.removeAllKeyMappings() method
Removes all the key mappings for a shortcut with the given name. Useful when changing the default key mappings and the key codes registered to the shortcut are unknown.
Signature:
removeAllKeyMappings(shortcutName: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
shortcutName | string | The name of the shortcut to remove from the key map. |
Returns:
void