我可以通过插件触发 /禁用 /解开javaScript事件
我希望关于如何从插件中删除/解开事件有一个很好的建议。我正在使用一个包含JavaScript函数的插件,以滚动溢出。不幸的是,这也捕获了车轮,因此窗户无法滚动。 因此,我对禁用/删除/解除在浏览器中可以执行的车轮事件的方式感兴趣。有什么好建议吗?
I was hoping for a good suggestion on how to remove/unbind events bound from a plugin. I am using a plugin that includes a javascript function for scrolling on overflow. Unfortunately, this also captures the wheel, such that the window cannot scroll.
I am therefore interested in a way to disable/remove/unbind the wheel event which I can do in the browser. Any good suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论