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

Method ngOnDestroy

src/material/tabs/tab-body.ts:214–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 }
213
214 ngOnDestroy() {
215 clearTimeout(this._fallbackTimer);
216 this._eventCleanups?.forEach(cleanup => cleanup());
217 this._dirChangeSubscription.unsubscribe();
218 }
219
220 /** Sets up the transition events. */
221 private _bindTransitionEvents() {

Callers 1

ngOnDestroyMethod · 0.45

Calls 1

cleanupFunction · 0.85

Tested by

no test coverage detected