KeyboardEvent: repeat property
Baseline
2025
Newly available
Since May 2025, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The repeat read-only property of the
KeyboardEvent interface returns a boolean value that is
true if the given key is being held down such that it is automatically
repeating.
Value
A boolean value.
Specifications
| Specification |
|---|
| UI Events # dom-keyboardevent-repeat |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
repeat
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
- See implementation notes.
- Has more compatibility info.