我有一個應用程序在MSPointerDown(touchstart在其他瀏覽器中)事件處理程序中使用event.touches不工作在IE 10中。任何回退?event.touches在IE 10中回退?
1
A
回答
0
Patrick Lauke寫了一篇關於detecting touch的優秀文章,其中也包括MS怪異。
0
你或許可以使用
if (window.navigator.msPointerEnabled) {
// Pointer events are supported.
}
處理IE10特異性相互作用。 Here是關於在IE10中觸摸輸入的廣泛文檔。
if (window.navigator.msPointerEnabled) {
// IE10 supports this
this.element.addEventListener("MSPointerDown", eventHandlerName, false);
}
// for other browsers
this.element.addEventListener("touchstart", eventHandlerName, false);
IE10應該支持MSPointerDown,後退是針對不支持指針交互的瀏覽器。
+0
請閱讀問題 – user960567 2013-04-30 12:59:42
+0
查看變更... – 2013-04-30 14:01:11
相關問題
- 1. 輸入元件在IE(10)上退格
- 2. background-image + rgba()在IE 7-8中回退
- 3. HTML5 <picture> srcset回退IE 10和11
- 4. Selenium 2.35 WebDriver退出IE 10失敗
- 5. IE 10問題與回發
- 6. CORS與IE的JSON回退
- 7. IE回退實現圓角?
- 8. IE 8/9中的FormData回退
- 9. IE 10在HTML中並不
- 10. 返回10,而且沒有退出-PHP
- 11. 如何在Windows 10中使用ie(7〜10)10
- 12. ImgAreaSelect on IE 10
- 13. 檢查IE 10
- 14. IE的後臺大小回退
- 15. 用於懸停動畫的IE回退
- 16. 防止Backspace按鈕在Sharepoint 2010和IE中導航回退
- 17. IE 10中的Javascript很慢
- 18. IE 10中的JApplet問題
- 19. 文件上傳在IE 10
- 20. 解決方法在IE 10
- 21. 頁面未在IE 10
- 22. Primefaces p:fileUpload在IE 10中不起作用
- 23. 組合框在IE 10/11被集中
- 24. 內容:attr();不在IE 10中工作
- 25. contenteditable不能在IE 10中工作
- 26. window.devicePixelRatio在IE 10 Mobile中不起作用?
- 27. Firebreath插件未在IE 10中加載
- 28. IE中的textarea後退
- 29. CSS:active not working(IE 10)
- 30. IE 10附加CSS
這不顯示我在找什麼 – user960567 2013-04-30 10:51:04