Web/API/KeyboardEvent/repeat

From Get docs


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

Syntax

var repeat = event.repeat;

Return value

Boolean

Specifications

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

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
repeat Chrome

Full support Yes

Edge

Full support 79

Firefox

Full support 28

IE

No support No

Opera

Full support Yes

Safari

Full support 10.1

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support 28

Opera Android

Full support Yes

Safari iOS

Full support 10.3

Samsung Internet Android

Full support Yes

Legend

Full support  
Full support
No support  
No support