关于页面滑动,让按钮收起的问题?

发布于 7 年前作者 jiehuang6723 次浏览最后编辑 7 年前来自 issues

页面滑动时,页面上的悬浮按钮收起,停止时显示。

该怎么监听页面是在滑动中的状态呀?

1 回复
jing55
jing551 楼5 年前

touchmove、touchend、touchcancel

https://developers.weixin.qq.com/s/T4A1t1mj7rdf