deltaX property
Gets the distance that a mouse wheel has rotated around the x-axis (horizontal).
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
The distance, in deltaMode units.
Standards information
- Document Object Model (DOM) Level 3 Events Specification, Section 5.2.4
See also
- WheelEvent
- Reference
- deltaY
- deltaZ
Show:

