|
69 | 69 | </p> |
70 | 70 | <table class="table"> |
71 | 71 | <thead> |
72 | | - <tr> |
73 | | - <th scope="col">Event Name</th> |
74 | | - <th scope="col">Description</th> |
75 | | - </tr> |
| 72 | + <tr> |
| 73 | + <th scope="col">Event Name</th> |
| 74 | + <th scope="col">Description</th> |
| 75 | + </tr> |
76 | 76 | </thead> |
77 | 77 | <tbody class="table-group-divider"> |
78 | | - <tr> |
79 | | - <th scope="row"><code>OnHiding</code></th> |
80 | | - <td>This event fires when a new tab is to be shown (and thus the previous active tab is to be hidden).</td> |
81 | | - </tr> |
82 | | - <tr> |
83 | | - <th scope="row"><code>OnHidden</code></th> |
84 | | - <td>This event fires after a new tab is shown (and thus the previous active tab is hidden).</td> |
85 | | - </tr> |
86 | | - <tr> |
87 | | - <th scope="row"><code>OnShowing</code></th> |
88 | | - <td>This event fires on tab show, but before the new tab has been shown.</td> |
89 | | - </tr> |
90 | | - <tr> |
91 | | - <th scope="row"><code>OnShown</code></th> |
92 | | - <td>This event fires on tab show after a tab has been shown.</td> |
93 | | - </tr> |
| 78 | + <tr> |
| 79 | + <th scope="row"><code>OnHiding</code></th> |
| 80 | + <td>This event fires when a new tab is to be shown (and thus the previous active tab is to be hidden).</td> |
| 81 | + </tr> |
| 82 | + <tr> |
| 83 | + <th scope="row"><code>OnHidden</code></th> |
| 84 | + <td>This event fires after a new tab is shown (and thus the previous active tab is hidden).</td> |
| 85 | + </tr> |
| 86 | + <tr> |
| 87 | + <th scope="row"><code>OnShowing</code></th> |
| 88 | + <td>This event fires on tab show, but before the new tab has been shown.</td> |
| 89 | + </tr> |
| 90 | + <tr> |
| 91 | + <th scope="row"><code>OnShown</code></th> |
| 92 | + <td>This event fires on tab show after a tab has been shown.</td> |
| 93 | + </tr> |
94 | 94 | </tbody> |
95 | 95 | </table> |
96 | 96 | <Callout Color="CalloutColor.Info"> |
|
123 | 123 | <Demo Type="typeof(Tabs_Demo_14_Remove_Dynamic_Tabs)" /> |
124 | 124 | </Section> |
125 | 125 |
|
| 126 | +<Section Size="HeadingSize.H2" Name="Remove inactive tab" PageUrl="@pageUrl" Link="remove-inactive-tab"> |
| 127 | + <div> |
| 128 | + In the following example, we are removing the inactive tab by name. The focus will not be lost with this active tab. |
| 129 | + </div> |
| 130 | + <Demo Type="typeof(Tabs_Demo_15_Remove_Inactive_Tab_by_Name)" /> |
| 131 | +</Section> |
| 132 | + |
126 | 133 | @code { |
127 | 134 | private const string pageUrl = RouteConstants.Demos_Tabs_Documentation; |
128 | 135 | private const string pageTitle = "Blazor Tabs"; |
|
0 commit comments