This topic created in 4173 days ago, the information mentioned may be changed or developed.
RT.
比如写轮播想检测用户手指划过的速度.和运动轨迹.
有没有现成的轮子可以检测.
没有的话可以......
5 replies • 2015-06-12 19:13:37 +08:00
 |
|
自己在touchmove事件里面计算,几行代码。
|
 |
|
hammer.js 在手势里面有代码,原来有配置是说用户速度到什么速度才触发swipe事件。
|
 |
|
@ lvfujun 你想造干啥的轮子。 滑动事件吗,这个轮子都已经一大堆了。
|