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

Method ngOnDestroy

src/material/tabs/tab-group.ts:435–440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

433 }
434
435 ngOnDestroy() {
436 this._tabs.destroy();
437 this._tabsSubscription.unsubscribe();
438 this._tabLabelSubscription.unsubscribe();
439 this._tabBodySubscription.unsubscribe();
440 }
441
442 /** Re-aligns the ink bar to the selected tab element. */
443 realignInkBar() {

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected