We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1884e57 commit 9365b5dCopy full SHA for 9365b5d
README.md
@@ -41,6 +41,8 @@ import {SmartRefreshControl,ClassicsHeader,StoreHouseHeader,DefaultHeader} from
41
|primaryColor|string|刷新控件主调色|
42
|autoRefresh|{refresh,timeout}|设置自动刷新|
43
|HeaderComponent|Component|refreshcontrol的header|
44
+|pureScroll|bool|是否纯滚动|
45
+|overScrollBounce|bool|是否越界回弹|
46
47
注意:HeaderComponet现在支持任意的RN组件,但是需要放在AnyHeader的组件中,其中onHeaderPulling和onHeaderReleasing的参数为{nativeEvent:{percent,offset,headerHeight}},可用来控制下拉和释放过程中更为精细的动画
48
如果下拉和释放过程不需要过程动画,则使用onPullDownToRefresh和onReleaseToRefresh即可实现,请看示例:Example [HuaweiRefreshControl](https://github.com/react-native-studio/react-native-SmartRefreshLayout/blob/master/Example/HuaWeiRefreshControl.js)
0 commit comments