KeyboardEvent.key
Key key
Description
The key for press and release events, and none for text events. Mouse buttons arrive here too, as the mouse key values.
Found an issue with these docs, or have some additional questions? Create an Issue on Github!