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

Function ngOnDestroy

src/material/tabs/ink-bar.ts:144–147  ·  view source on GitHub ↗

Destroys the foundation.

()

Source from the content-addressed store, hash-verified

142
143 /** Destroys the foundation. */
144 ngOnDestroy() {
145 this._inkBarElement?.remove();
146 this._inkBarElement = this._inkBarContentElement = null!;
147 }
148
149 /** Creates and appends the ink bar element. */
150 private _createInkBarElement() {

Callers

nothing calls this directly

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected