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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support YesEdge No support NoFirefox Full support 28IE No support NoOpera ? Safari Full support 10.1WebView Android ? Chrome Android ? Edge Mobile No support NoFirefox Android Full support 28Opera Android ? Safari iOS Full support 10.1Samsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

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