Interface: IndexLocationWithAlign

"interfaces".IndexLocationWithAlign

Hierarchy

  • IndexLocationWithAlign

Properties

align

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

Defined in src/interfaces.ts:163

How to position the item in the viewport.


behavior

Optional behavior: "smooth" | "auto"

Defined in src/interfaces.ts:167

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


index

index: number

Defined in src/interfaces.ts:159

The index of the item to scroll to.


offset

Optional offset: number

Defined in src/interfaces.ts:171

The offset to scroll.