wheel event is fired when a wheel button of a pointing device (usually a mouse) is rotated.
- DOM L3
- defaultView, Document, Element
- Default Action
- Scroll (or zoom) the document.
MozMousePixelScroll events can be used as an alternative to the
wheel event in earlier versions of Firefox. The
mousewheel event can be used to determine in which direction the wheel was rotated, in earlier version of other browsers (IE in particular).