From 52e48a7ac7bfc64b78c5aabb86cab4c0d7b88054 Mon Sep 17 00:00:00 2001 From: MDN Date: Tue, 28 Sep 2021 00:50:31 +0000 Subject: [CRON] sync translated content --- .../conflicting/web/api/wheelevent/index.html | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 files/zh-cn/conflicting/web/api/wheelevent/index.html (limited to 'files/zh-cn/conflicting/web/api') diff --git a/files/zh-cn/conflicting/web/api/wheelevent/index.html b/files/zh-cn/conflicting/web/api/wheelevent/index.html new file mode 100644 index 0000000000..c5d60a279c --- /dev/null +++ b/files/zh-cn/conflicting/web/api/wheelevent/index.html @@ -0,0 +1,120 @@ +--- +title: MouseWheelEvent +slug: conflicting/Web/API/WheelEvent +translation_of: Web/API/MouseWheelEvent +original_slug: Web/API/MouseWheelEvent +--- +

{{APIRef("DOM Events")}}{{ Non-standard_header() }}{{deprecated_header}}

+ +

{{ note("由于该事件对象是非标准的,所以Gecko并不准备实现它.") }}

+ +

MouseWheelEvent事件对象代表了当用户在滚动鼠标滚轮时触发的事件.

+ +

要优先使用标准化过的WheelEvent来代替该陈旧的事件对象.

+ +

属性

+ + + + + + + + + + + + + + +
名称类型描述
wheelDeltalong滚动的距离,以像素为单位 (由MSDN定义,但实际的用法不同, 查看mousewheel. 只读.
+ +

滚轮相关事件对比

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
事件类型事件对象是否标准兼容性
mousewheelMouseWheelEvent非标准只有Firefox不支持
DOMMouseScrollMouseScrollEvent非标准只有Firefox支持
wheelWheelEventDOM Level 3Firefox 17+ ie9+
+ +

浏览器兼容性

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ CompatNo() }}{{ CompatIE("6.0") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
+
+ +

相关链接

+ + -- cgit v1.2.3-54-g00ecf