flounder
Version:
a native friendly dropdown menu
24 lines (21 loc) • 584 B
JavaScript
/*
* Copyright (c) 2016-2018 dunnhumby Germany GmbH.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*
*/
const keycodes = {
BACKSPACE : 8,
DOWN : 40,
ENTER : 13,
ESCAPE : 27,
LEFT : 37,
RIGHT : 39,
SPACE : 32,
TAB : 9,
UP : 38,
NON_CHARACTER_KEYS : [ 16, 17, 18, 20, 91, 93 ]
};
export default keycodes;