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

Function reset

src/cdk/stepper/stepper.ts:644–650  ·  view source on GitHub ↗
(control: StepControl)

Source from the content-addressed store, hash-verified

642}
643
644function reset(control: StepControl): void {
645 if (isField(control)) {
646 control().reset();
647 } else {
648 control.reset();
649 }
650}

Callers 1

resetMethod · 0.85

Calls 2

isFieldFunction · 0.85
resetMethod · 0.65

Tested by

no test coverage detected