Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

repeat property

Gets a value that indicates whether a key was pressed and held.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.6Internet Explorer 9

 

Syntax

JavaScript

p = object.repeat

 

Property values

Type: Boolean

true if the key has been pressed and held; otherwise, false.

Standards information

Remarks

The first key event with a repeat property of true indicates the beginning of a long key press.

See also

KeyboardEvent

 

 

Show:
© 2017 Microsoft