1. Web
  2. Web APIs
  3. KeyboardEvent
  4. repeat

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

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /