(readonly inputs: TabListInputs)
| 198 | }); |
| 199 | |
| 200 | constructor(readonly inputs: TabListInputs) { |
| 201 | this.selectedTab = inputs.selectedTab; |
| 202 | this.activeTab = inputs.activeItem; |
| 203 | this.orientation = inputs.orientation; |
| 204 | this.disabled = inputs.disabled; |
| 205 | |
| 206 | this.focusBehavior = new ListFocus(inputs); |
| 207 | |
| 208 | this.navigationBehavior = new ListNavigation({ |
| 209 | ...inputs, |
| 210 | focusManager: this.focusBehavior, |
| 211 | }); |
| 212 | |
| 213 | this.expansionBehavior = new ListExpansion({ |
| 214 | ...inputs, |
| 215 | multiExpandable: () => false, |
| 216 | }); |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * Sets the tablist to its default initial state. |
nothing calls this directly
no outgoing calls
no test coverage detected