Skip to main content
Version: 1.8.0

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.

intersectionboolean | number0

A number indicating how much the items intersect on the side. (true is 1)



  • If 0, there is no intersect. The closer it is to 1, the greater the intersect distance.

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.