首页 > 代码库 > jQuery.event.move
jQuery.event.move
http://stephband.info/jquery.event.move/
Move events
- movestart
- Fired following touchmove or mousemove, when the touch (or mouse) crosses a threshold distance from the position of the mousedown or touchstart.
- move
- Fired on every animation frame where a touchmove or mousemove has changed position.
- moveend
- Fired following mouseup or touchend, after the last move event, and in the case of touch events when the finger that started the move has been lifted.
Move event objects are augmented with the properties:
e.pageX,e.pageY
当前页面坐标的指针。
e.startX,e.startY
页面坐标的指针,曾在movestart。
e.distX,e.distY
距离自movestart的指针移动。
e.deltaX,e.deltaY
距离指针自去年移动事件已经转移。
e.velocityX,e.velocityY
速度像素/ MS,平均在过去的几个事件。
jQuery.event.move
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。