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> |