Skip to content
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

因本库没有touch事件tap,singleTap,longTap等事件,也是手机端很有必要的 #14

Open
singod opened this issue Jun 18, 2015 · 1 comment

Comments

@singod
Copy link

singod commented Jun 18, 2015

一、click 和 tap 比较
两者都会在点击时触发,但是在手机WEB端,click会有 200~300 ms,所以请用tap代替click作为点击事件。
singleTap和doubleTap 分别代表单次点击和双次点击。

二、关于tap的点透处理
在使用zepto框架的tap来移动设备浏览器内的点击事件,来规避click事件的延迟响应时,有可能出现点透的情况,即点击会触发非当前层的点击事件。

所以也希望咋们这个库有这些个事件来解决延迟响应!

@jaywcjlove
Copy link
Member

@singod 了解👌解释很详细

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants