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

Function selectedIndex

src/material/tabs/paginated-tab-header.ts:152–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 /** The index of the active tab. */
151 @Input({transform: numberAttribute})
152 get selectedIndex(): number {
153 return this._selectedIndex;
154 }
155 set selectedIndex(v: number) {
156 const value = isNaN(v) ? 0 : v;
157

Callers

nothing calls this directly

Calls 1

updateActiveItemMethod · 0.80

Tested by

no test coverage detected