How can I check for real touch support on a browser

前端 未结 3 1225
忘了有多久
忘了有多久 2020-12-29 06:53

Today (or very recently) Chrome Beta updated to 17 for me and with it i noticed some funkiness in my web app. I noticed it was because a class was being added to the body el

3条回答
  •  梦谈多话
    2020-12-29 07:42

    ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch
    

提交回复
热议问题