Skip to content

Commit 33a6f6c

Browse files
committed
update API
1 parent a135aed commit 33a6f6c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ var React = require('react');
6767

6868
// ScrollOverPack support rc-animate,rc-queue-anim,rc-tween-one;
6969

70-
React.render(<ScrollOverPack hideProps={{ tweenOne: { reverse: true } }}>
70+
React.render(<ScrollOverPack>
7171
<QueueAnim key='queueAnim'>
7272
<div key='a'>enter</div>
7373
<div key='b'>enter</div>
@@ -128,11 +128,13 @@ ScrollAnim.scrollScreen.unMount();
128128

129129
OverPack inherit Element; `component` `playScale` `onChange` `location` refer to `Element`;
130130

131+
> 1.0.0 remove hideProps;
132+
131133
| name | type | default | description |
132134
|-----------|----------------|---------|----------------|
133135
| always | boolean | `true` | back to top, enter replay,as `false` will only play it again, leave does not play |
134136
| replay | boolean | `false` | play every enter, do you want to animate each time you show the current, `false` only scroll to down play animate |
135-
| hideProps | object | `null` | v0.3.0 children hideProps move here. If the child does not have, default: { children: null }. children be `rc-tween-one` { 'userKey': { reverse: true }} |
137+
| appear | boolean | `true` | whether support appear the operation |
136138

137139
### Parallax
138140
| name | type | default | description |

0 commit comments

Comments
 (0)