64

开源库架构实战——从0到1搭建属于你自己的开源库

 5 years ago
source link: https://juejin.im/post/5b729909e51d45662434aef0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
需求分析 最近在 H5 开发与 APP 客户端工程师的联调过程中, 经常需要实现一些常用的移动端事件封装成接口提供给客户端,例如用户的单击 tap 事件、双击事件、长按事件以及拖动事件。但由于浏览器默认只提供了 touchstart、touchmove、tou

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK