Browse Source

Fix events.md markdown syntax issues

Guy Carmeli 6 years ago
parent
commit
e929ca3c0b
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      docs/docs/events.md

+ 8
- 8
docs/docs/events.md View File

@@ -29,9 +29,9 @@ Navigation.events().registerComponentDidAppearListener((componentId, componentNa
29 29
 });
30 30
 ```
31 31
 |       Parameter         | Description |
32
-|--------------------|:-----|
33
-**componentId**| Id of the appearing component
34
-**componentName**|Registered name used when registering the component with `Navigation.registerComponent()`
32
+|:--------------------:|:-----|
33
+**componentId**| Id of the appearing component|
34
+**componentName**|Registered name used when registering the component with `Navigation.registerComponent()`|
35 35
 
36 36
 ## componentDidDisappear
37 37
 Called each time this component disappears from screen (detached from the view heirarchy)
@@ -52,9 +52,9 @@ Navigation.events().registerComponentDidDisappearListener((componentId, componen
52 52
 });
53 53
 ```
54 54
 |       Parameter         | Description |
55
-|--------------------|:-----|
56
-**componentId**| Id of the disappearing component
57
-**componentName**|Registered name used when registering the component with `Navigation.registerComponent()`
55
+|:--------------------:|:-----|
56
+**componentId**| Id of the disappearing component|
57
+**componentName**|Registered name used when registering the component with `Navigation.registerComponent()`|
58 58
 
59 59
 ## registerCommandListener
60 60
 The `commandListener` is called whenever a *Navigation command* (i.e push, pop, showModal etc) is invoked.
@@ -65,7 +65,7 @@ Navigation.events().registerCommandListener((name, params) => {
65 65
 });
66 66
 ```
67 67
 |       Parameter         | Description |
68
-|--------------------|:-----|
68
+|:--------------------:|:-----|
69 69
 |**name** | The name of the command that was invoked. For example `push`|
70 70
 |**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 |
71 71
 
@@ -79,7 +79,7 @@ Navigation.events().registerCommandCompletedListener((commandId, completionTime,
79 79
 ```
80 80
 
81 81
 |       Parameter         | Description |
82
-|--------------------|:-----|
82
+|:--------------------:|:-----|
83 83
 |**commandId** | Id of the completed command|
84 84
 |**completionTime**|Timestamp when the comand, and consecutive animations, completed.|
85 85