MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

src/aria/private/tabs/tabs.ts:200–217  ·  view source on GitHub ↗
(readonly inputs: TabListInputs)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected