移动端-模拟手势事件
摘要:
分别取touchstart事件和touchmove事件中事件对象(e.touches[0])的pageX和pageY属性,相减后进行判断,判断之后记得移除touchmove事件 阅读全文
posted @ 2017-04-08 16:42 周裕涛 阅读(330) 评论(0) 推荐(0)
posted @ 2017-04-08 16:42 周裕涛 阅读(330) 评论(0) 推荐(0)
posted @ 2017-04-08 00:40 周裕涛 阅读(700) 评论(0) 推荐(0)