MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

GlobalEventHandlers.onwheel

这篇翻译不完整。请帮忙从英语翻译这篇文章

归纳说明

onwheel特性指向当前元素的滑轮滑动事件函数 。

语法

element.onwheel = function() { .. }

详情指南

Specification Status Comment
HTML Living Standard
onwheel
Living Standard  

浏览器兼容性

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)

注意

当用户在相应元素上滚动滑轮便触发wheel事件。

文档标签和贡献者

 此页面的贡献者: 1Cr18Ni9
 最后编辑者: 1Cr18Ni9,