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

Method selectedIndex

src/material/tabs/tab-group.ts:170–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 /** The index of the active tab. */
169 @Input({transform: numberAttribute})
170 get selectedIndex(): number | null {
171 return this._selectedIndex;
172 }
173 set selectedIndex(value: number) {
174 this._indexToSelect = isNaN(value) ? null : value;
175 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected