We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

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

归纳说明

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

语法

element.onwheel = function() { .. }

详情指南

Specification Status Comment
HTML Living Standard
onwheel
Living Standard  

浏览器兼容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

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,