shiftLeft property (event)
Sets or retrieves a Boolean value that indicates whether the left SHIFT key was down at the time when the event occurred.
If it is not necessary to know which SHIFT key was pressed, use the cross-browser shiftKey property.
You can find the related objects in the Supported by objects section below.
The shiftLeft property is read-only, except if the event object is created with the createEventObject method when it is read/write.
Boolean that sets or retrieves the state of the left SHIFT key.
One of the following values:
|Left SHIFT key is up.|
|Left SHIFT key is down.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the shiftLeft property:
Did you find this example helpful?
User Contributed Comments