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/SearchField.tsx:85–89 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
83
useImperativeHandle(ref, () => ({
84
...createFocusableRef(domRef, inputRef),
85
select() {
86
if (inputRef.current) {
87
inputRef.current.select();
88
}
89
},
90
getInputElement() {
91
return inputRef.current;
92
}
Callers
nothing calls this directly
Calls
1
select
Method · 0.65
Tested by
no test coverage detected