The onwheel property returns the onwheel event handler code on the current element.


element.onwheel = function() { .. }


Specification Status Comment
HTML Living Standard
The definition of 'onwheel' in that specification.
Living Standard  

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) (Yes) (Yes) (Yes)
Feature Android Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) (Yes) (Yes) (Yes) (Yes) (Yes) (Yes)


The wheel event is raised when the user scrolls the contents of a element.

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, fscholz, MHasan, kscarfone, nairakhil13, Sheppy, Masayuki
 Last updated by: chrisdavidmills,