Files
textual/docs/events/key.md
2022-08-25 10:21:45 +01:00

12 lines
263 B
Markdown

# Key
The `Key` event is sent to a widget when the user presses a key on the keyboard.
- [x] Bubbles
## Attributes
| attribute | type | purpose |
| --------- | ---- | ------------------------ |
| `key` | str | The key that was pressed |