Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ focusMain
Function
focusMain
packages/react-aria/src/landmark/useLandmark.ts:518–520 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
516
return
controller!.focusPrevious(opts);
517
},
518
focusMain() {
519
return
controller!.focusMain();
520
},
521
dispose() {
522
controller?.dispose();
523
unsubscribe();
Callers
nothing calls this directly
Calls
1
focusMain
Method · 0.65
Tested by
no test coverage detected