https://github.com/rwson/read-fastclick
init commit
https://github.com/rwson/read-fastclick
Last synced: 3 months ago
JSON representation
init commit
- Host: GitHub
- URL: https://github.com/rwson/read-fastclick
- Owner: rwson
- Created: 2016-04-27T08:52:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-27T08:54:30.000Z (about 10 years ago)
- Last Synced: 2025-01-17T19:08:11.955Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# read-fastclick
fastclick是一个兼容移动端click事件的js库,在移动端事件的执行顺序是touchestart->touchend->click(网上一大堆关于这个的说明),所以等执行到click的时候,难免会卡顿,在老机器上该问题更加明显,现在有很多库来解决这个问题,touch.js(百度)、tap(以zepto为代表)等等。
闲来无事,拜读下fastclick这个库的源码。