Element.onwheel

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

La propriété onwheel renvoie le code du gestionnaire d'évènements onwheel de l'élément courant.

Syntaxe

js
element.onwheel = function() { .. }

Spécifications

Specification
UI Events
# event-type-wheel
HTML
# handler-onwheel

Compatibilité des navigateurs

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
wheel event

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

Voir aussi