-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 passive 模式监听部分事件 #38
Labels
Comments
部分是移动端的。和移动端关系不大。部分代码加 passive 就好。 |
chimee-helper-dom 已修改并export supportsPassive 。 addEvent (el, type, handler, once, { passive: true } ) 即可在支持 passive 的环境启用相应配置。 chimee-helper 也已升级发版,请试用~~ |
toxic-johann
added a commit
that referenced
this issue
May 31, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
上面是chrome的log是否要做一下判断,移动端才监听这些事件?
The text was updated successfully, but these errors were encountered: