dungang / yii2-touchswipe
TouchSwipe jQuery 插件
dev-master
2017-04-10 06:24 UTC
Requires
- php: >=5.4.0
- bower-asset/jquery-touchswipe: ~1.6
- yiisoft/yii2: ~2.0.5
This package is not auto-updated.
Last update: 2024-09-29 01:46:13 UTC
README
TouchSwipe jQuery 插件
TouchSwipe 1.6
一个用于触摸设备(如iPad、iPhone、Android等)的jQuery插件。
检测单指和多指的滑动、捏合,并在桌面系统上回退到鼠标拖拽。
可以设置时间和距离阈值,以区分滑动手势和慢速拖拽。
配置。
Detects swipes in 4 directions, "up", "down", "left" and "right"
Detects pinches "in" and "out"
Supports single finger or double finger touch events
Supports click events both on the touchSwipe object and its child objects
Definable threshold / maxTimeThreshold to determin when a gesture is actually a swipe
Events triggered for swipe "start","move","end" and "cancel"
End event can be triggered either on touch release, or as soon as threshold is met
Allows swiping and page scrolling
Disables user input elements (Button, form, text etc) from triggering swipes