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

Method previous

src/cdk/stepper/stepper.ts:507–509  ·  view source on GitHub ↗

Selects and focuses the previous step in list.

()

Source from the content-addressed store, hash-verified

505
506 /** Selects and focuses the previous step in list. */
507 previous(): void {
508 this.selectedIndex = Math.max(this._selectedIndex() - 1, 0);
509 }
510
511 /** Resets the stepper to its initial state. Note that this includes clearing form data. */
512 reset(): void {

Callers

nothing calls this directly

Calls 1

maxMethod · 0.45

Tested by

no test coverage detected