KeyboardEvent.key
KeyboardEvent.key
A KeyboardEvent
property whose value is a string identifying the key that was pressed. Covers character keys, non-character keys (e.g. arrow keys), and dead keys.
Spec | http://www.w3.org/TR/uievents/#widl-KeyboardEvent-key |
---|---|
Status | W3C Working Draft |
IE | Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|---|