MCPcopy Index your code
hub / github.com/angular/components / _getFocusIndex

Method _getFocusIndex

src/cdk/stepper/stepper.ts:541–543  ·  view source on GitHub ↗

Returns the index of the currently-focused step header.

()

Source from the content-addressed store, hash-verified

539
540 /** Returns the index of the currently-focused step header. */
541 _getFocusIndex(): number | null {
542 return this._keyManager ? this._keyManager.activeItemIndex : this._selectedIndex();
543 }
544
545 private _updateSelectedItemIndex(newIndex: number): void {
546 const stepsArray = this.steps.toArray();

Calls

no outgoing calls