Skip to main content
Version: 1.1.0

ScrollIntoViewOptions

Type: TSInterface

PROPERTYTYPEDESCRIPTION
hitTestnumber

size ratio to find items. (default: 1)

siblingnumber

The number of items next to the item's index to return. (default: 0)

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

Where to arrange the items in the container. (default: "start")

excludeStandboolean

Whether to find the next item except sorting it in place. (default: false)

offsetnumber

The value to scroll further from the sort position. (default: 0)

durationnumber

How long to scroll animation time. (default: 0)