Skip to main content
Version: 1.6.2

ScrollIntoViewOptions

Type: TSInterface

PROPERTYTYPEDEFAULTDESCRIPTION
hitTestnumber1

size ratio to find items. Use it if padding inside the item plays the same role as margin or gap.

intersectionboolean0

Whether to include items that intersect on the side

siblingnumber0

The number of items next to the item's index to return.

align"start" | "end" | "center"

The position to align the target to.

excludeStandbooleanfalse

Whether to find the next item except sorting it in place.

offsetnumber0

The value to scroll further from the sort position.

durationnumber0

How long to scroll animation time.