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.

wheelDelta property

Gets the distance that a mouse wheel has rotated around the y-axis.

Internet Explorer 9

 

Syntax

JavaScript

p = object.wheelDelta

 

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

MouseWheelEvent
deltaY

 

 

Show:
© 2017 Microsoft