摘要: 先贴出实践中实现的代码,参考(https://segmentfault.com/q/1010000011640937?sort=created): 先获取元素对象,然后设置ontouchstart和ontouchend事件,注意,这里的是事件,和touchstart(方法)有所区别,然后在手机浏览器 阅读全文
posted @ 2018-04-16 17:17 powerio 阅读(29035) 评论(1) 推荐(0) 编辑