【发布时间】:2014-06-17 20:22:25
【问题描述】:
我正在开发一个在 Chrome 和 Firefox 中运行良好的多点触控绘图应用程序,但我无法从微软那里得到任何关于是否多点触控的直接答案(即:事件.touches) 在 Internet Explorer 11 中受支持。
目前可以在其他浏览器中使用的代码片段如下:
window.addEventListener("touchstart", onTouchStart, true);
function onTouchStart(event) {
console.log(event.touches.length);
}
在 chrome 中,它会打印出触摸次数,但在 Internet Explorer 中我什么也得不到。如果有人知道这是否是 IE 的问题,我将不胜感激。
谢谢。
【问题讨论】:
-
与 chrome 和 ff 相比,它们具有不同且更好的多点触控方式
标签: javascript html multi-touch internet-explorer-11