我有一個應用程序在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. HTML5 <picture> srcset回退IE 10和11
- 2. IE回退實現圓角?
- 3. 返回10,而且沒有退出-PHP
- 4. 用於懸停動畫的IE回退
- 5. 檢查IE 10
- 6. 頁面未在IE 10
- 7. IE 10中的Javascript很慢
- 8. 內容:attr();不在IE 10中工作
- 9. window.devicePixelRatio在IE 10 Mobile中不起作用?
- 10. Z-index in IE 10
- 11. IE 10附加CSS
- 12. 「迴歸」中的IE 10和IE瀏覽器的功能外記11
- 13. Angular JS錯誤:僅在IE 10和IE 11中[$ rootScope:infdig]
- 14. IE 10 - 無效的回發或回調參數
- 15. 任何方式在Safari和IE上回退Ogg?
- 16. 回退退格
- 17. JCarouselLite在Safari/Chrome中回退?
- 18. WebRTC回退
- 19. shishir已退出狀態10?
- 20. JWplayer沒有加載ie 10
- 21. 檢測沒有IE 10+
- 22. Bootstrap 4頂着IE 10
- 23. @keyframes在IE下面不起作用10
- 24. jQuery的不能在IE工作10
- 25. 在IE 10光標不改變懸停
- 26. IE 10/11中的「訪問被拒絕」
- 27. IE 10和11中的灰度?
- 28. Session.SessionID在IE 10的每個帖子上生成新的ID 10
- 29. IE 10和11在Intranet站點上以IE 7模式呈現。
- 30. 適用於IE的規則。不工作在IE 10
這不顯示我在找什麼 – user960567 2013-04-30 10:51:04