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

Method selectedIndex

src/cdk/stepper/stepper.ts:351–353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349 /** The index of the selected step. */
350 @Input({transform: numberAttribute})
351 get selectedIndex(): number {
352 return this._selectedIndex();
353 }
354 set selectedIndex(index: number) {
355 if (this._steps) {
356 // Ensure that the index can't be out of bounds.

Callers

nothing calls this directly

Calls 5

_isValidIndexMethod · 0.95
_markAsInteractedMethod · 0.80
setMethod · 0.80

Tested by

no test coverage detected