Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ select
Function
select
packages/@react-spectrum/s2/src/TextField.tsx:169–173 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
167
useImperativeHandle(ref, () => ({
168
...createFocusableRef(domRef, inputRef),
169
select() {
170
if (inputRef.current) {
171
inputRef.current.select();
172
}
173
},
174
getInputElement() {
175
return inputRef.current;
176
}
Callers
nothing calls this directly
Calls
1
select
Method · 0.65
Tested by
no test coverage detected