File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default class extends Component {
3232 constructor ( props ) {
3333 super ( props ) ;
3434 this . defaultScrollEnabled = false ; //!(this.props.onPulling || this.props.onPullOk || this.props.onPullRelease); //定义onPull***属性时scrollEnabled为false
35- var topIndicatorHeight = this . props . topIndicatorHeight ? this . props . topIndicatorHeight : defaultTopIndicatorHeight ;
35+ let topIndicatorHeight = this . props . topIndicatorHeight ? this . props . topIndicatorHeight : defaultTopIndicatorHeight ;
3636 this . defaultXY = { x : 0 , y : topIndicatorHeight * - 1 } ;
3737 this . pullOkMargin = this . props . pullOkMargin ? this . props . pullOkMargin : pullOkMargin ;
3838 this . duration = this . props . duration ? this . props . duration : defaultDuration ;
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-pull" ,
3- "version" : " 1.0.13 " ,
3+ "version" : " 1.1.0 " ,
44 "description" : " PullView & PullList component in React Native for both Android and iOS, pull to refresh" ,
55 "main" : " index.js" ,
66 "scripts" : {
1717 " pull" ,
1818 " to" ,
1919 " refresh" ,
20- " React" ,
21- " Native" ,
20+ " React Native" ,
2221 " ScrollView" ,
2322 " ListView"
2423 ],
You can’t perform that action at this time.
0 commit comments