@univerjs/ui v0.1.17 • Docs
Enumeration: MetaKeys
Define meta key numbers.
Enumeration Members
Enumeration Member | Value | Description | Defined in |
---|---|---|---|
ALT | 2048 | Option key on MacOS. Alt key on other systems. | packages/ui/src/services/shortcut/keycode.ts:171 (opens in a new tab) |
CTRL_COMMAND | 4096 | Command key on MacOS. Ctrl key on other systems. | packages/ui/src/services/shortcut/keycode.ts:173 (opens in a new tab) |
MAC_CTRL | 8192 | Ctrl key for MacOS. Not valid on other systems. | packages/ui/src/services/shortcut/keycode.ts:175 (opens in a new tab) |
SHIFT | 1024 | - | packages/ui/src/services/shortcut/keycode.ts:169 (opens in a new tab) |