Javascript Internet Explorer 11是否支持多点触摸?

Javascript Internet Explorer 11是否支持多点触摸?,javascript,html,multi-touch,internet-explorer-11,Javascript,Html,Multi Touch,Internet Explorer 11,我正在开发一个在Chrome和Firefox中运行良好的多点触摸绘图应用程序,但我无法从微软那里得到任何关于Internet Explorer 11是否支持多点触摸(即event.touch)的直接答案 目前,在其他浏览器中工作的代码剪贴如下所示: window.addEventListener("touchstart", onTouchStart, true); function onTouchStart(event) { console.log(event.touches.length

我正在开发一个在Chrome和Firefox中运行良好的多点触摸绘图应用程序,但我无法从微软那里得到任何关于Internet Explorer 11是否支持多点触摸(即event.touch)的直接答案

目前,在其他浏览器中工作的代码剪贴如下所示:

window.addEventListener("touchstart", onTouchStart, true);

function onTouchStart(event) {
  console.log(event.touches.length);
}
在chrome中,它会打印出触摸次数,但在InternetExplorer中,我什么也得不到。如果有人知道这是否是IE的问题,我将不胜感激


谢谢。

IE有不同的方法:W3C指针事件

p、 美国:如果您只是想测试多点触控支持,请使用
navigator.msMaxTouchPoints

if (navigator.msMaxTouchPoints > 1) { ... }

他们有一种不同于chrome的更好的多点触摸方式,这是我问题的解决方案,谢谢你,但我无法让它在Windows7上运行。当我看到微软的一个演示时,它告诉我Windows8.1IE11应用程序是完整功能所必需的。我还注意到,在Windows7的IE11中,navigator.maxTouchPoints调用没有返回任何内容,但在Chrome中返回10。