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

Method ngOnDestroy

src/material/stepper/stepper.ts:101–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 }
100
101 ngOnDestroy() {
102 this._isSelected.unsubscribe();
103 }
104
105 /** Custom error state matcher that additionally checks for validity of interacted form. */
106 isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean {

Callers 1

ngOnDestroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected