Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Commit 8086c9e

Browse files
committed
README
1 parent 29e6daf commit 8086c9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ NavigationController.transitionType = {
103103
};
104104
```
105105

106-
A function can be used perform a custom transition:
106+
A function can be used to perform custom transitions:
107107

108108
```jsx
109109
navigationController.pushView(<MyView />, {
110110
transition(prevElement, nextElement, done) {
111-
// Perform some sort of animation on the views
112-
prevElement.style.transform = 'translate3d(100, 0, 0)';
111+
// Do some sort of animation on the views
112+
prevElement.style.transform = 'translate3d(100%, 0, 0)';
113113
nextElement.style.transform = 'translate3d(0, 0, 0)';
114114
// Tell the navigationController when the animation is complete
115115
setTimeout(done, 500);

0 commit comments

Comments
 (0)