Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/cdk/overlay/overlay-container.ts:30–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
protected _styleLoader = inject(_CdkPrivateStyleLoader);
29
30
ngOnDestroy() {
31
this._containerElement?.remove();
32
}
33
34
/**
35
* This method returns the overlay container element. It will lazily
Callers
4
overlay-container.spec.ts
File · 0.45
cleanup
Function · 0.45
overlay.spec.ts
File · 0.45
flexible-connected-position-strategy.spec.ts
File · 0.45
Calls
1
remove
Method · 0.65
Tested by
1
cleanup
Function · 0.36