Skip to content

Commit 9365b5d

Browse files
authored
Update README.md
1 parent 1884e57 commit 9365b5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ import {SmartRefreshControl,ClassicsHeader,StoreHouseHeader,DefaultHeader} from
4141
|primaryColor|string|刷新控件主调色|
4242
|autoRefresh|{refresh,timeout}|设置自动刷新|
4343
|HeaderComponent|Component|refreshcontrol的header|
44+
|pureScroll|bool|是否纯滚动|
45+
|overScrollBounce|bool|是否越界回弹|
4446

4547
注意:HeaderComponet现在支持任意的RN组件,但是需要放在AnyHeader的组件中,其中onHeaderPulling和onHeaderReleasing的参数为{nativeEvent:{percent,offset,headerHeight}},可用来控制下拉和释放过程中更为精细的动画
4648
如果下拉和释放过程不需要过程动画,则使用onPullDownToRefresh和onReleaseToRefresh即可实现,请看示例:Example [HuaweiRefreshControl](https://github.com/react-native-studio/react-native-SmartRefreshLayout/blob/master/Example/HuaWeiRefreshControl.js)

0 commit comments

Comments
 (0)