Skip to content

Commit

Permalink
Fixing spelling on events doc (#5257)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcleland authored and guyca committed Jul 4, 2019
1 parent a591fe4 commit ae84e68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ screenEventListener.remove();
|**passProps**| props passed to the component|

## componentDidDisappear
Called each time this component disappears from screen (detached from the view heirarchy)
Called each time this component disappears from screen (detached from the view hierarchy)

```js
class MyComponent extends Component {
Expand Down Expand Up @@ -115,7 +115,7 @@ commandListener.remove();
|**params**|`commandId`: Each command is assigned a unique Id<br>`componentId`: Optional, the componentId passed to the command<br>`layout`: Optional, If the command invoked created a screen. Slim representation of the component and its options |

## registerCommandCompletedListener
Invoked when a command finishes executing in native. If the command contains animations, for example pushed screen animation,) the listener is invoked after the animation ends.
Invoked when a command finishes executing in native. If the command contains animations, for example pushed screen animation, the listener is invoked after the animation ends.

```js
// Subscribe
Expand Down

0 comments on commit ae84e68

Please sign in to comment.