Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnInit
Method
ngOnInit
src/material/slide-toggle/slide-toggle.ts:227–229 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
225
}
226
227
ngOnInit() {
228
this._signalFormField = this._injector.get(FORM_FIELD, undefined, {optional: true, self: true});
229
}
230
231
ngAfterContentInit() {
232
this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {
Callers
nothing calls this directly
Calls
1
get
Method · 0.65
Tested by
no test coverage detected