WheelEvent 对象处理鼠标滚轮滚动时发生的事件。
Event | Occurs When |
---|---|
onwheel | The mouse wheel rolls over an element |
Property | Returns |
---|---|
deltaX | The horizontal (x-axis) scroll amount of the wheel |
deltaY | The vertical (y-axis) scroll amount of the wheel |
deltaZ | The z-axis scroll amount of the wheel |
deltaMode | The unit of measurements (pixels, lines or pages) |
WheelEvent 继承了以下所有属性和方法:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!