ScrollMapping
Since v2.13.0
Mapping between native scrollTop (clamped spacer space) and “virtual” scroll
position (raw row-content space). See computeScrollMapping.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
rawContentHeight | number | Raw row-content height in pixels (totalRows * rowHeight or sum of variable heights). |
spacerHeight | number | Effective spacer DOM height — min(rawContentHeight, maxSpacerHeight). |
viewportHeight | number | Viewport height used for computing scrollable extents. |
capped | boolean | True when rawContentHeight > maxSpacerHeight — fractional mapping is active. |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt