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

Method ngOnDestroy

src/material/input/input.ts:375–384  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373 }
374
375 ngOnDestroy() {
376 this.stateChanges.complete();
377
378 if (this._platform.isBrowser) {
379 this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);
380 }
381
382 this._cleanupIosKeyup?.();
383 this._cleanupWebkitWheel?.();
384 }
385
386 ngDoCheck() {
387 if (this.ngControl) {

Callers

nothing calls this directly

Calls 1

stopMonitoringMethod · 0.45

Tested by

no test coverage detected