Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/layoutanimation.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default App;
### `configureNext()`

```jsx
static configureNext(config, onAnimationDidEnd?)
static configureNext(config, onAnimationDidEnd?, onAnimationDidFail?)
```

Schedules an animation to happen on the next layout.
Expand All @@ -90,6 +90,7 @@ Schedules an animation to happen on the next layout.
| ----------------- | -------- | -------- | ----------------------------------- |
| config | object | Yes | See config description below. |
| onAnimationDidEnd | function | No | Called when the animation finished. |
| onAnimationDidFail| function | No | Called when the animation failed. |

The `config` parameter is an object with the keys below. [`create`](layoutanimation.md#create) returns a valid object for `config`, and the [`Presets`](layoutanimation.md#presets) objects can also all be passed as the `config`.

Expand Down