1

touchstart、touchend 等事件在实际 iPad 和 Animate CC JavaScript 中的 chrome 模拟中不起作用

element.addEventListener("touchstart", function f2_MouseClickHandler(e) {
                correctAnswer(e, position, responseId);
}.bind(self));
4

1 回答 1

1

我找到了我忘记在舞台上启用触摸的解决方案

createjs.Touch.enable(stage);

我希望它对其他人有所帮助来源:https ://forums.adobe.com/thread/2177196

于 2016-07-11T12:23:04.093 回答