判断是否支持touch事件的方法

2016-06-14  本文已影响1415人  JustFantasy
var isSupportTouch = "ontouchend" in document ? true : false;

该方法来源于jquery mobile

上一篇 下一篇

猜你喜欢

热点阅读