Interface: IndexLocationWithAlign

"interfaces".IndexLocationWithAlign

Hierarchy

  • IndexLocationWithAlign

Properties

align

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

Defined in src/interfaces.ts:172

How to position the item in the viewport.


behavior

Optional behavior: "smooth" | "auto"

Defined in src/interfaces.ts:176

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


index

index: number | "LAST"

Defined in src/interfaces.ts:168

The index of the item to scroll to.


offset

Optional offset: number

Defined in src/interfaces.ts:180

The offset to scroll.