yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
 * This enumerated type is for representing keyboard modifiers. These are keys
 * that are held down in addition to other event types.
 *
 * @enum {Number}
 */
var KeyboardEventModifier = {
  /**
   * Represents the shift key being held down.
   *
   * @type {Number}
   * @constant
   */
  SHIFT: 0,
 
  /**
   * Represents the control key being held down.
   *
   * @type {Number}
   * @constant
   */
  CTRL: 1,
 
  /**
   * Represents the alt key being held down.
   *
   * @type {Number}
   * @constant
   */
  ALT: 2,
};
export default Object.freeze(KeyboardEventModifier);