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

Method selectedIndex

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

Source from the content-addressed store, hash-verified

353 /** The index of the selected step. */
354 @Input({transform: numberAttribute})
355 get selectedIndex(): number {
356 return this._selectedIndex();
357 }
358 set selectedIndex(index: number) {
359 if (this._steps) {
360 // 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