Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
551 views
in Technique[技术] by (71.8m points)

iscroll .js中怎么判断滚动方向?怎么用?

今天用了iscroll .js做上下拉加载刷新遇到一个需要判断页面上下滚动触发隐藏显示的事件!
找到iscroll .js里面的有个这样的方法:

options.indicators.listenX:
options.indicators.listenY:

指示器监听那个方向的滚动,可以设置为一个方向或 2 个方向

就是不知道怎么用,求大神帮忙!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...