-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
触屏事件汇总 #3
Comments
ghost
assigned luics
Apr 9, 2013
同感,或许是有意为之? |
现在触屏事件的叫法很混乱,我的建议是在下次峰会之前将常用的事件名称统一起来,至少在kissy中形成标准。 |
赞~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
触屏事件
android
Android Gestures
ios
ios Gestures Tabel 1-1
wp
Windows Phone Gesture
注: windows phone的触屏事件名称比较奇葩
Hammer.js
Hammer Gestures
其他参考资料
通用触屏事件
可以看到通用的触屏事件至少包括:
点击稍复杂:
通用触屏事件列表
注: 下表给出是触屏事件中的元事件, 组合事件如: hold+swipe在Android上用在移动桌面图片; 由于组合事件众多, 不一一列出
tap
拍击doubletap
双击hold
长按tapn
n(2,3..)指拍击swipe
单指滑动swipeleft
单指向左滑动swiperight
单指向右滑动swipeup
单指向上滑动swipedown
单指向下滑动swipen
n(2,3..)指滑动drag
拖拽dragstart
拖拽开始dragend
拖拽结束dragup
向上拖拽dragdown
向下拖拽dragleft
向左拖拽dragright
向右拖拽pinchin
双指捏合pinchout
双指展开squeeze
五指捏合splay
五指展开rotatecw
顺时针旋转rotateccw
逆时针旋转shake
移动设备shakeup
向上移动设备shakedown
向下移动设备shakeleft
向左移动设备shakeright
向右移动设备shakeforward
向前移动设备shakeback
向后移动设备shakeleftright
左右移动设备shakeforwardback
前后移动设备shakeupdown
上下移动设备The text was updated successfully, but these errors were encountered: