码迷,mamicode.com
首页 > Web开发 > 详细

jQuery.event.move

时间:2014-09-19 08:46:05      阅读:262      评论:0      收藏:0      [点我收藏+]

标签:http   io   os   ar   art   sp   on   c   r   

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

标签:http   io   os   ar   art   sp   on   c   r   

原文地址:http://www.cnblogs.com/sxmny/p/3980616.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!