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
OptionalverticalOffset: numberOffset to scroll to vertically
OptionalhorizontalOffset: numberOffset to scroll to horizontally
Scrolls to the specified area Either offset/size pair can be left undefined to scroll in one dimension only
OptionalverticalOffset: numberOffset to scroll to vertically
OptionalverticalSize: numberSize of target area vertically
OptionalhorizontalOffset: numberOffset to scroll to horizontally
OptionalhorizontalSize: numberSize of target area horizontally
Optionaloption: 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.