Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ focus
Method
focus
src/material/chips/chip-input.ts:210–212 ·
view source on GitHub ↗
Focuses the input.
()
Source
from the content-addressed store, hash-verified
208
209
/** Focuses the input. */
210
focus(): void {
211
this.inputElement.focus();
212
}
213
214
/** Clears the input */
215
clear(): void {
Callers
nothing calls this directly
Calls
1
focus
Method · 0.65
Tested by
no test coverage detected