KeyboardEvent.repeat
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
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
BCD tables only load in the browser