rnx-ui-scrollview
v0.0.2
Published
RNX UI Component: ScrollView
Downloads
2
Maintainers
Readme
ScrollView
滚动组件
带有惯性、弹性滚动,并且具有下拉刷新功能。
API
Prop |Type |Default |Required | Description --- |--- |--- |--- | --- refreshControl |element |null |no |刷新控件 renderInterval |number |16 |no |渲染间隔时间 overA |number |0.05 |no |超出范围时的减速度 maxOverV |number |3 |no |超出范围时最大速度 dragOverA |number |2.5 |no |拖拽超出范围时的减速度 recoverTime |number |200 |no |弹性恢复时间 refreshControlRecoverTime |number |200 |no |刷新控件恢复时间 refreshDistance |number |200 |no |到达刷新状态所需的距离