Readonly altTrue if the alt key was down when the mouse event was fired.
Readonly codeA string with the code value of the physical key represented by the event. Warning: This ignores the user's keyboard layout, so that if the user presses the key at the "Y" position in a QWERTY keyboard layout this will always return "KeyY", even if the user has a QWERTZ keyboard.
Readonly ctrlTrue if the control key was down when the mouse event was fired.
Readonly currentA reference to the currently registered target for the event. This is the object to which the event is currently slated to be sent. It's possible this has been changed along the way through retargeting.
Readonly keyA string that represents the key value of the key represented by the event.
Readonly locationA number that represents the location of the key on the keyboard or other input device.
Readonly metaTrue if the meta key was down when the mouse event was fired.
Readonly repeatA boolean that is true if the key is being held down such that it is automatically repeating.
Readonly shiftTrue if the shift key was down when the mouse event was fired.
Readonly targetA reference to the target to which the event was originally dispatched.
Readonly timeThe time at which the event was created (in milliseconds). By specification, this value is time since epoch—but in reality, browsers' definitions vary. In addition, work is underway to change this to be a DOMHighResTimeStamp instead.
Generated using TypeDoc
The data of keyboard-based user interactions. Based on: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent (documentation extracted from here)