Does Internet Explorer 11 support Multi-Touch?

I am working on a multi-touch drawing application that works fine in Chrome and Firefox, but I can’t get anything from Microsoft, as the direct answer is whether multitouch (i.e. .touches event) will be supported in Internet Explorer eleven.

Currently, a code snippet that works in other browsers looks like this:

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

function onTouchStart(event) {
  console.log(event.touches.length);
}

The number of touches will be printed in chrome, but I get nothing in Internet Explorer. If anyone knows if this is a problem with IE, I would appreciate it.

Thank.

+4
source share
1 answer

IE : W3C http://msdn.microsoft.com/en-us/library/ie/dn433244.aspx

p.s.: multi-touch, navigator.msMaxTouchPoints.

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

Source: https://habr.com/ru/post/1544801/


All Articles