Interface: FlatIndexLocationWithAlign
Hierarchy
↳
FlatIndexLocationWithAlign
Properties
align
• Optional
align: "start"
| "center"
| "end"
How to position the item in the viewport.
Inherited from
Defined in
dist/index.d.ts:312
behavior
• Optional
behavior: "auto"
| "smooth"
Set 'smooth' to have an animated transition to the specified location.
Inherited from
Defined in
dist/index.d.ts:316
index
• index: number
| "LAST"
The index of the item to scroll to.
Defined in
dist/index.d.ts:103
offset
• Optional
offset: number
The offset to scroll.
Inherited from
Defined in
dist/index.d.ts:320