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

Method reset

src/cdk/stepper/stepper.ts:508–512  ·  view source on GitHub ↗

Resets the stepper to its initial state. Note that this includes clearing form data.

()

Source from the content-addressed store, hash-verified

506
507 /** Resets the stepper to its initial state. Note that this includes clearing form data. */
508 reset(): void {
509 this._updateSelectedItemIndex(0);
510 this.steps.forEach(step => step.reset());
511 this._stateChanged();
512 }
513
514 /** Returns a unique id for each step label element. */
515 _getStepLabelId(i: number): string {

Callers

nothing calls this directly

Calls 3

_stateChangedMethod · 0.95
resetMethod · 0.65

Tested by

no test coverage detected