swipe.js 滑动之后停止

问题描述:

swipe.js在手机端测试,滑动之后自动播放函数就会失效!

解决方案:

修改源代码的stop函数,

1
2
3
4
5
function stop() {
//delay = 0;
delay = options.auto > 0 ? options.auto : 0;
clearTimeout(interval);
}