better-scroll中的下拉刷新(上滑加载)事件不触发
来源:21-2 nodejs调试

qq_男男_03167889
2018-12-11
请教一个better-scroll问题,使用better-scroll页面可以正常滚动,BScroll中配置了pullDownRefresh(或者pullUpLoad),但是pullingDown(或者pullingUp)并不触发,找不到原因,请老师解惑。
var itemScroll = new BScroll('#'+param.itemWrap,{
scrollY: true,
probeType: 3,
pullDownRefresh: {
threshold: 50,
stop: 20
}
});
itemScroll.on('pullingDown',function(){
console.log('下拉刷新')
})
写回答
2回答
-
你的 better-scroll 版本是多少
122018-12-11 -
ustbhuangyi
2018-12-11
你监听 scroll 事件看看能否触发
022018-12-11
相似问题