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

Method ngOnDestroy

src/material/menu/menu-content.ts:97–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 ngOnDestroy() {
98 this.detach();
99 this._outlet?.dispose();
100 }
101}

Callers

nothing calls this directly

Calls 2

detachMethod · 0.95
disposeMethod · 0.65

Tested by

no test coverage detected