HTML | onwheel Event Attribute
This attribute works when the wheel of pointer device is rolled up or down over an element. The onwheel attribute also works when the user scrolls or zooms on an element by using mouse or touchpad.
Supported Tags: It supports all HTML elements.
<element onwheel = "script">
Attribute Value: This attribute contains single value script and it works when onwheel attribute called. It is supported by all HTML elements.
Note: This attribute is new in HTML 5.
Supported Browsers: The browser supported by onwheel event attribute are listed below:
- Chrome 31.0
- Edge 12.0
- Internet Explorer 9.0
- Firefox 17.0
- Safari 7.0
- Opera 18.0
My Personal Notes arrow_drop_up
Please Login to comment...