Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/cdk/menu/menu-item.ts:113–117 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
111
}
112
113
ngOnDestroy() {
114
this._cleanupMouseEnter?.();
115
this.destroyed.next();
116
this.destroyed.complete();
117
}
118
119
/** Place focus on the element. */
120
focus() {
Callers
nothing calls this directly
Calls
1
next
Method · 0.45
Tested by
no test coverage detected