Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/adobe/react-spectrum
/ select
Function
select
packages/@react-spectrum/s2/src/TextField.tsx:157–161 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
155
useImperativeHandle(ref, () => ({
156
...createFocusableRef(domRef, inputRef),
157
select() {
158
if (inputRef.current) {
159
inputRef.current.select();
160
}
161
},
162
getInputElement() {
163
return inputRef.current;
164
}
Callers
nothing calls this directly
Calls
1
select
Method · 0.65
Tested by
no test coverage detected