createjs的touch事件

createjs的createjs.Touch.enable(stage)开启后,为什么只有mousedown和pressmove这两个事件起作用,其他事件都不起作用,怎么才能模拟原生的touchstart,touchmove,touchend事件?

阅读 6.1k
2 个回答

启动以后,事件应该修改为 stagemousedown stagemousemove stagemouseup 就可以生效 监听器在 stage上

推荐问题