Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
src
.gitignore
README.md
doubleSlider-debug.js
doubleSlider.js
doubleSlider.min.js
gulpfile.js
package.json

README.md

zepto双指滑动插件

需求

移动端有手势(gestures)事件,但是在安卓端兼容并不好。 本插件只暂时只针对上图所示情况。

使用

调用方式:

var target = $('.tar');//双指滑动目标
	target.doubleSlider({
		dis: 10, //双指滑动距离
		back: function () {  //双指滑动回调函数
			alert('你好~');
		}
	})

例子

扫描二维码:

You can’t perform that action at this time.