/

HTML / CSS / JavaScript Tutorial

JavaScript Properties and Methods for WheelEvent objects

[this page | pdf | back links]

WheelEvent objects within the JavaScript DOM support the following properties:

 

Properties:

 

Property

Description

More

deltaMode

Returns a number indicating the unit of measurement for delta values

Here

deltaX

Returns the horizontal (x-axis) scroll amount of a mouse wheel

Here

deltaY

Returns the vertical (y-axis) scroll amount of a mouse wheel

Here

deltaZ

Returns the z-axis scroll amount of a mouse wheel

Here

 


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


Desktop view | Switch to Mobile