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

Method ngOnDestroy

src/cdk/text-field/autosize.ts:180–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 }
179
180 ngOnDestroy() {
181 this._listenerCleanups?.forEach(cleanup => cleanup());
182 this._resizeEvents.complete();
183 this._destroyed.next();
184 this._destroyed.complete();
185 }
186
187 /**
188 * Cache the height of a single-row textarea if it has not already been cached.

Callers

nothing calls this directly

Calls 2

cleanupFunction · 0.85
nextMethod · 0.45

Tested by

no test coverage detected