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.
wheelDelta property
Gets the distance that a mouse wheel has rotated around the y-axis.
![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
The distance in pixels.
Standards information
There are no standards that apply here.
Remarks
To get the mouse wheel rotation in other directions, use the WheelEvent object.
See also
Show:
