Keys
Import :
const Keys = brackets.getModule("command/Keys")
KEY : enum
Defines common keyboard key identifiers for use in keyboard event handling.
Kind: global enum
Properties
Name | Type | Default |
---|---|---|
ENTER | string | "Enter" |
RETURN | string | "Return" |
ESCAPE | string | "Escape" |
ARROW_LEFT | string | "ArrowLeft" |
ARROW_RIGHT | string | "ArrowRight" |
ARROW_UP | string | "ArrowUp" |
ARROW_DOWN | string | "ArrowDown" |
SPACE | string | " " |
TAB | string | "Tab" |
BACKSPACE | string | "Backspace" |
DELETE | string | "Delete" |
HOME | string | "Home" |
END | string | "End" |
PAGE_UP | string | "PageUp" |
PAGE_DOWN | string | "PageDown" |
SHIFT | string | "Shift" |
CONTROL | string | "Control" |
ALT | string | "Alt" |
META | string | "Meta" |
F1 | string | "F1" |
F2 | string | "F2" |
F3 | string | "F3" |
F4 | string | "F4" |
F5 | string | "F5" |
F6 | string | "F6" |
F7 | string | "F7" |
F8 | string | "F8" |
F9 | string | "F9" |
F10 | string | "F10" |
F11 | string | "F11" |
F12 | string | "F12" |
INSERT | string | "Insert" |
CONTEXT_MENU | string | "ContextMenu" |
NUM_LOCK | string | "NumLock" |
SCROLL_LOCK | string | "ScrollLock" |
CAPS_LOCK | string | "CapsLock" |