Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ getItemRect
Function
getItemRect
packages/react-stately/src/virtualizer/Layout.ts:95–97 ·
view source on GitHub ↗
@private
(key: Key)
Source
from the content-addressed store, hash-verified
93
94
/** @private */
95
getItemRect(key: Key): Rect | null {
96
return
this.getLayoutInfo(key)?.rect ?? null;
97
}
98
99
/** @private */
100
getVisibleRect(): Rect {
Callers
nothing calls this directly
Calls
1
getLayoutInfo
Method · 0.65
Tested by
no test coverage detected