会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Kite Fly
one by one step.
首页
新随笔
管理
2016年10月2日
移动端与PC端的触屏事件
摘要: 由于移动端是触摸事件,所以要用到H5的属性touchstart/touchmove/touched,但是PC端只支持鼠标事件,所以此时可以这样转换 var touchEvents = { touchstart:"touchstart", touchmove:"touchmove", touchend
阅读全文
posted @ 2016-10-02 19:14 CodeProducter
阅读(5900)
评论(1)
推荐(0)