Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/angular
/ focus
Method
focus
packages/forms/signals/test/web/focus.spec.ts:53–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
readonly value = model<string>();
52
readonly input = viewChild.required<ElementRef<HTMLInputElement>>(
'input'
);
53
focus() {
54
focusCalled = true;
55
this.input().nativeElement.focus();
56
}
57
}
58
59
@Component({
Callers
nothing calls this directly
Calls
2
input
Method · 0.80
focus
Method · 0.65
Tested by
no test coverage detected