简体中文
外观
UIScrollView
bounces
bounces 属性表示滚到头之后能不能再拉一段,松手弹回。
布尔。
true
false
const scroller = new UIScrollView(); scroller.bounces = false;
效果:滚到最顶或最底就停住,不能再往外拉。
UIScrollView.bounces。
UIScrollView.bounces
alwaysBounceVertical
bouncesVertically