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

Method reset

src/cdk/stepper/stepper.ts:512–516  ·  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

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

Callers

nothing calls this directly

Calls 3

_stateChangedMethod · 0.95
resetMethod · 0.65

Tested by

no test coverage detected