Exposes DOM clientHeight property
Exposes DOM clientWidth property
Current horizontal position of scroll bar
Current vertical position of scroll bar
Scrolls to the specified vertical and horizontal offset in pixels Either offset can be left undefined to scroll in one dimension only
Optional
verticalOffset: numberOffset to scroll to vertically
Optional
horizontalOffset: numberOffset to scroll to horizontally
Scrolls to the specified area Either offset/size pair can be left undefined to scroll in one dimension only
Optional
verticalOffset: numberOffset to scroll to vertically
Optional
verticalSize: numberSize of target area vertically
Optional
horizontalOffset: numberOffset to scroll to horizontally
Optional
horizontalSize: numberSize of target area horizontally
Optional
option: ScrollToOptionWhere to position the area within the viewport
Custom ref handle returned by VirtualScroll that exposes imperative methods
Use
React.useRef<VirtualScrollProxy>(null)
to create a ref.