Created
February 4, 2018 19:00
-
-
Save cmbaughman/e91a6a2608ad4127ef81c549896a6485 to your computer and use it in GitHub Desktop.
Useful JavaScript Snippets I always need.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const KEYS = exports.KEYS = { | |
BACKSPACE: 8, | |
TAB: 9, | |
ENTER: 13, | |
SHIFT: 16, | |
CTRL: 17, | |
ALT: 18, | |
ESCAPE: 27, | |
SPACE: 32, | |
LEFT: 37, | |
RIGHT: 39, | |
UP: 38, | |
DOWN: 40, | |
F10: 121, | |
HOME: 36, | |
END: 35, | |
PAGE_UP: 33, | |
PAGE_DOWN: 34 | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment