Interface: LocationOptions

"interfaces".LocationOptions

Hierarchy

Properties

align

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

Defined in src/interfaces.ts:235

How to position the item in the viewport.


behavior

Optional behavior: "smooth" | "auto"

Defined in src/interfaces.ts:239

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


offset

Optional offset: number

Defined in src/interfaces.ts:243

The offset to scroll.