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

加个设置bounceTop: true/false #14

Closed
admin00001 opened this issue Jan 19, 2017 · 3 comments
Closed

加个设置bounceTop: true/false #14

admin00001 opened this issue Jan 19, 2017 · 3 comments

Comments

@admin00001
Copy link

bounceTop:false//代表不开启顶部弹力,就是拉到顶部时候没有弹力,scrollY只能为0

@ustbhuangyi
Copy link
Owner

需求是用手指拖动的时候超过边界也不开启弹力么?

@ustbhuangyi
Copy link
Owner

use bounce false in v0.1.12

@admin00001
Copy link
Author

是的,这样可以满足判断没弹力这端x/y为0或者为最大值,好做下一步逻辑

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

No branches or pull requests

2 participants