3.1.4 • Published 5 years ago
ve-touch v3.1.4
ve-touch中文文档
地址:github.com/plingply/ve-touch.git 测试地址:http://jtutu.cn/ve/touch
- v-touch:tap 单击
- v-touch:press 长按
- v-touch:move 移动
- v-touch:moveleft 向左边滑动
- v-touch:moveright 向右边滑动
- v-touch:movetop 向上边滑动
- v-touch:movebottom 向下滑动
- v-touch:dbtap 双击
- v-touch:scale 缩放,这个方法后面可不用跟函数
- v-touch:scale={sc:1,ismove:true,isScale:true} 参数sc是限制的缩放比例,不传默认为1 ismove是否可以移动 isScale是否可以缩放
修饰符 1. .stop 阻止事件冒泡 2. .prevent 阻止浏览器默认事件
参数
v-touch:tap="fun" v-touch:tap="{methods:fun,arg:{a:12,b:23}}"
只有这两种写法 其他写法暂时不支持!
参数说明:默认第一个参数为 event 第二个参数才是自己传入的参数
3.1.4
5 years ago
3.1.3
5 years ago
3.1.2
6 years ago
3.1.1
6 years ago
3.1.0
6 years ago
3.0.9
6 years ago
3.0.8
6 years ago
3.0.7
6 years ago
3.0.6
6 years ago
3.0.5
6 years ago
3.0.4
6 years ago
3.0.3
6 years ago
3.0.2
6 years ago
3.0.1
6 years ago
3.0.0
6 years ago
2.2.1
6 years ago
2.2.0
6 years ago
2.0.7
7 years ago
2.0.6
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.0.0
7 years ago