关于Scrollview滑动事件bindscroll参数的问题
发布于 5 年前 作者 xiena 524 次浏览 来自 问答

关于官文微信组件scrollview的bindscroll事件后面的参数具体是啥意思?

bindscrollEventHandle
滚动时触发,event.detail = {scrollLeft, scrollTop, scrollHeight, scrollWidth, deltaX, deltaY}
1 回复

给你的bindscroll的方法中,带个参数e,然后在方法里把e,console.log(e),出来看看,你就明白了

回到顶部