滚轮事件整理
文章目录
wheel,scroll(es标准滚轮事件)
DOMMouseScroll(只有ff支持的滚轮事件,ff17以后可以用wheel标准事件)
mousewheel(wheel之前的非标准事件,ie\opera兼容性,ff不支持)
MouseWheelEvent和MouseScrollEvent(ff支持)
wheel 事件监听鼠标滚轮滚动,scroll监听浏览器页面滚动条滚动
wheel,scroll(es标准滚轮事件)
DOMMouseScroll(只有ff支持的滚轮事件,ff17以后可以用wheel标准事件)
mousewheel(wheel之前的非标准事件,ie\opera兼容性,ff不支持)
MouseWheelEvent和MouseScrollEvent(ff支持)
wheel 事件监听鼠标滚轮滚动,scroll监听浏览器页面滚动条滚动
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论