|
|
|
|
59
|
|**passProps**| props passed to the component|
|
59
|
|**passProps**| props passed to the component|
|
60
|
|
60
|
|
61
|
## componentDidDisappear
|
61
|
## componentDidDisappear
|
62
|
-Called each time this component disappears from screen (detached from the view heirarchy)
|
|
|
|
|
62
|
+Called each time this component disappears from screen (detached from the view hierarchy)
|
63
|
|
63
|
|
64
|
```js
|
64
|
```js
|
65
|
class MyComponent extends Component {
|
65
|
class MyComponent extends Component {
|
|
|
|
|
115
|
|**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 |
|
115
|
|**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 |
|
116
|
|
116
|
|
117
|
## registerCommandCompletedListener
|
117
|
## registerCommandCompletedListener
|
118
|
-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.
|
|
|
|
|
118
|
+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.
|
119
|
|
119
|
|
120
|
```js
|
120
|
```js
|
121
|
// Subscribe
|
121
|
// Subscribe
|