Easy Tutorial
❮ Prop Style Outlinestyle Dom Obj Link ❯

shiftKey Event Property


Definition and Usage

The shiftKey event property returns a Boolean value indicating whether the "SHIFT" key was pressed and held when the event occurred.

Syntax


Example

Example

The following example shows whether the "SHIFT" key is held down when a mouse button is clicked:


❮ Prop Style Outlinestyle Dom Obj Link ❯