You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| command | <code>string</code> \| <code>Command</code> | A command ID or command object |
93
-
| keyBindings | <code>Object</code> \| <code>Array.<{key: string, displayKey: string, platform: string}></code> | A single key binding or an array of keybindings. Example: "Shift-Cmd-F". Mac and Win key equivalents are automatically mapped to each other. Use displayKey property to display a different string (e.g. "CMD+" instead of "CMD="). |
93
+
| keyBindings | <code>Object</code> | A single key binding or an array of keybindings. In an array of keybinding `platform` property is also available. Example: "Shift-Cmd-F". Mac and Win key equivalents are automatically mapped to each other. Use displayKey property to display a different string (e.g. "CMD+" instead of "CMD="). |
94
94
| platform | <code>string</code> | The target OS of the keyBindings either "mac", "win" or "linux". If undefined, all platforms not explicitly defined will use the key binding. NOTE: If platform is not specified, Ctrl will be replaced by Cmd for "mac" platform |
95
95
| options | <code>object</code> ||
96
96
| options.isMenuShortcut | <code>boolean</code> | this allows alt-key shortcuts to be registered. |
0 commit comments