84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
createjs的createjs.Touch.enable(stage)开启后,为什么只有mousedown和pressmove这两个事件起作用,其他事件都不起作用,怎么才能模拟原生的touchstart,touchmove,touchend事件?
业精于勤,荒于嬉;行成于思,毁于随。
click, mousedown, dblclick, pressmove,pressup, mouseover / mouseout, and rollover / rollout.以上是createjs中元件所支持绑定的事件,并不是所有js事件都支持参考以下文章http://www.createjs.com/tutor...鼠标事件在开启触碰之后会在touch方面兼容createjs.Touch.enable(stage);
click, mousedown, dblclick, pressmove,pressup, mouseover / mouseout, and rollover / rollout.
以上是createjs中元件所支持绑定的事件,并不是所有js事件都支持
参考以下文章
http://www.createjs.com/tutor...
鼠标事件在开启触碰之后会在touch方面兼容
createjs.Touch.enable(stage);