Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上拉加载更多分页数据怎么实现? #55

Closed
lixsh8 opened this issue May 4, 2017 · 2 comments
Closed

上拉加载更多分页数据怎么实现? #55

lixsh8 opened this issue May 4, 2017 · 2 comments

Comments

@lixsh8
Copy link

lixsh8 commented May 4, 2017

上拉加载更多分页数据怎么实现?有没有判断往上滑动还是往下滑动的属性或者接口?

@shuangbofu
Copy link

初始化的时候计算最大高度,只要pos.y的绝对值大于最大高度就执行loadMore函数,数据渲染完重新计算高度

@ustbhuangyi
Copy link
Owner

推荐看这篇文章: DDFE/DDFE-blog#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants