Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/aria/menu/menu.ts:205–207 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
203
}
204
205
ngOnDestroy() {
206
this._collection.stopObserving();
207
}
208
209
/** Closes the menu. */
210
close() {
Callers
nothing calls this directly
Calls
1
stopObserving
Method · 0.80
Tested by
no test coverage detected