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

Function ngOnDestroy

src/material/datepicker/datepicker-input-base.ts:274–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272 }
273
274 ngOnDestroy() {
275 this._valueChangesSubscription.unsubscribe();
276 this._localeSubscription.unsubscribe();
277 this.stateChanges.complete();
278 }
279
280 /** @docs-private */
281 registerOnValidatorChange(fn: () => void): void {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected