KeyboardEvent.repeat

The KeyboardEvent.repeat read-only property returns a Boolean that is true if the key is being held down such that it is automatically repeating.

Syntax

var repeat = event.repeat;

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Events Specification
The definition of 'KeyboardEvent.repeat' in that specification.
Obsolete Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes No28 No ?10.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? No28 ?10.1 ?

Document Tags and Contributors

Contributors to this page: fscholz, craigkovatch, zarqman, Yaffle, libbymc, teoli, cvrebert
Last updated by: fscholz,