Skip to main content

Interface: FlatIndexLocationWithAlign

Hierarchy

Properties

index

index: number | "LAST"

The index of the item to scroll to.


align

Optional align: "center" | "end" | "start"

How to position the item in the viewport.

Inherited from

LocationOptions.align


behavior

Optional behavior: "auto" | "smooth"

Set 'smooth' to have an animated transition to the specified location.

Inherited from

LocationOptions.behavior


offset

Optional offset: number

The offset to scroll.

Inherited from

LocationOptions.offset