Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/material/slide-toggle/slide-toggle.ts:257–259 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
255
}
256
257
ngOnDestroy() {
258
this._focusMonitor.stopMonitoring(this._elementRef);
259
}
260
261
/** Implemented as part of ControlValueAccessor. */
262
writeValue(value: any): void {
Callers
nothing calls this directly
Calls
1
stopMonitoring
Method · 0.45
Tested by
no test coverage detected