Defined in: src/core/types.ts:21
optionalalign:ScrollToIndexAlign
Defined in: src/core/types.ts:32
Alignment of item.
start: Align the item to the start of the list.center: Align the item to the center of the list.end: Align the item to the end of the list.nearest: If the item is already completely visible, don't scroll. Otherwise scroll until it becomes visible. That is similar behavior tonearestoption of scrollIntoView.
"start"
optionalsmooth:boolean
Defined in: src/core/types.ts:38
If true, scrolling animates smoothly with behavior: smooth of scrollTo.
Using smooth scrolling over many items can kill performance benefit of virtual scroll. Do not overuse it.
optionaloffset:number
Defined in: src/core/types.ts:43
Additional offset from the scrolled position.
0