blockly > ShortcutRegistry > getKeyMap

ShortcutRegistry.getKeyMap() method

Gets the current key map.

Signature:

getKeyMap(): {
        [key: string]: string[];
    };

Returns:

{ [key: string]: string[]; }

The object holding key codes to ShortcutRegistry.KeyboardShortcut.