TouchSwipe处理触摸事件的插件
TouchSwipe 是一个 jQuery 用于处理触摸事件的插件,主要用于 iPad 和 iPhone 之类的设备。
特点:
- 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
评论
TouchSwipe处理触摸事件的插件
TouchSwipe是一个jQuery用于处理触摸事件的插件,主要用于iPad和iPhone之类的设备。特点:Detectsswipesin4directions,"up","down","left"
TouchSwipe处理触摸事件的插件
0
SSAlphaPassiOS 触摸事件传递
SSAlphaPass可在你当前的视图下传递触摸事件给UIView\UIButton,但前提是你的像素alpha通道应该为0(像素是透明的)。这个方案比单纯忽视掉顶层视图要好,因为你仍然可以在UIVi
SSAlphaPassiOS 触摸事件传递
0
MTControlios 事件处理
MTControl给iOS的UIControl对象附加了类似jQuery风格的事件处理。示例代码:UIButton*button=[UIButtonbuttonWithType:UIButtonTyp
MTControlios 事件处理
0