Touch API (e.g. touchstart) not working in MS Edge

前端 未结 3 1084
甜味超标
甜味超标 2020-12-28 18:00

my application is using the Touch API to detect touch events in JavaScript. Example:

$(\".element\").on(\"touchstart\", function(event){
    alert(\"TRUE\");         


        
3条回答
  •  没有蜡笔的小新
    2020-12-28 18:25

    for touch API, you have to activate a flag on Edge : in the address bar, enter about:flags and press enter. In the section Touch, you can enable touch events with the corresponding dropdown

提交回复
热议问题