/

HTML / CSS / JavaScript Tutorial

JavaScript DOM KeyboardEvent property: shiftKey

[this page | pdf | back links]

The shiftKey property of KeyboardEvent objects within the JavaScript DOM (i.e. events triggered by an action with the keyboard) returns true if the ‘SHIFT’ key was pressed, otherwise returns false.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile