本文共 385 字,大约阅读时间需要 1 分钟。
npm指令
1 |
|
然后在main.js写上
1 2 3 4 5 6 7 8 |
|
why use `fastclick`?
在移动端H5开发过程中,关于点触可能会遇到如下两个问题:
click
事件会存在300ms的延迟(ios上面最明显)详细地址: (fastcLICK解析)
FASTClICK的bug:
(
)
转载地址:http://swzj.baihongyu.com/