⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

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!