Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/material/menu/menu.spec.ts:2797–2799 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2795
destroyed = false;
2796
2797
ngOnDestroy(): void {
2798
this.destroyed = true;
2799
}
2800
}
2801
2802
@Component({
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected