Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
detach
Method · 0.95
dispose
Method · 0.65
Tested by
no test coverage detected