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.

altKey property

Retrieves a value that indicates the state of the ALT key. For the standards based property, see altKey.

Syntax

JavaScript

p = object.altKey

 

Property values

Type: Boolean

false (false)

ALT key is not pressed.

true (true)

ALT key is pressed.

See also

event
altLeft

 

 

Show:
© 2016 Microsoft