diff options
Diffstat (limited to 'app/assets/javascripts/lib/utils/keycodes.js')
-rw-r--r-- | app/assets/javascripts/lib/utils/keycodes.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/utils/keycodes.js b/app/assets/javascripts/lib/utils/keycodes.js new file mode 100644 index 00000000000..5e0f9b612a2 --- /dev/null +++ b/app/assets/javascripts/lib/utils/keycodes.js @@ -0,0 +1,4 @@ +export const UP_KEY_CODE = 38; +export const DOWN_KEY_CODE = 40; +export const ENTER_KEY_CODE = 13; +export const ESC_KEY_CODE = 27; |