Skip to main content

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

NameTypeDefault
ENTERstring"Enter"
RETURNstring"Return"
ESCAPEstring"Escape"
ARROW_LEFTstring"ArrowLeft"
ARROW_RIGHTstring"ArrowRight"
ARROW_UPstring"ArrowUp"
ARROW_DOWNstring"ArrowDown"
SPACEstring" "
TABstring"Tab"
BACKSPACEstring"Backspace"
DELETEstring"Delete"
HOMEstring"Home"
ENDstring"End"
PAGE_UPstring"PageUp"
PAGE_DOWNstring"PageDown"
SHIFTstring"Shift"
CONTROLstring"Control"
ALTstring"Alt"
METAstring"Meta"
F1string"F1"
F2string"F2"
F3string"F3"
F4string"F4"
F5string"F5"
F6string"F6"
F7string"F7"
F8string"F8"
F9string"F9"
F10string"F10"
F11string"F11"
F12string"F12"
INSERTstring"Insert"
CONTEXT_MENUstring"ContextMenu"
NUM_LOCKstring"NumLock"
SCROLL_LOCKstring"ScrollLock"
CAPS_LOCKstring"CapsLock"