Keyboard events
Widely available since 2018-01-29
The keydown
and keyup
events fire for each key press (or, with modifier keys, a combination of key presses) on a keyboard.
Learning resources on MDN
Browser support
- Chrome 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 6 Released on 2011-08-16
- Firefox for Android 6 Released on 2011-08-16
- Safari 1.2 Released on 2004-02-02
- Safari on iOS 1 Released on 2007-06-29