A set of options to configure the scroll to index behavior.
Indicates if this operation will be animated. Defaults to false.
false
Indicates where in the viewport the scrolled to item should be placed. Defaults to middle.
middle
A set of options to configure the scroll to index behavior.