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

HRESULT value = object.get_repeat(* p);

Property values

Type: VARIANT_BOOL

VARIANT_TRUE if the key has been pressed and held; otherwise, VARIANT_FALSE.

Standards information

Remarks

The first key event with a IDOMKeyboardEvent::repeat property of VARIANT_TRUE indicates the beginning of a long key press.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft