Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/material/autocomplete/autocomplete.ts:275–278 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
273
}
274
275
ngOnDestroy() {
276
this._keyManager?.destroy();
277
this._activeOptionChanges.unsubscribe();
278
}
279
280
/**
281
* Sets the panel scrollTop. This allows us to manually scroll to display options
Callers
nothing calls this directly
Calls
1
destroy
Method · 0.65
Tested by
no test coverage detected