Interface: FlatIndexLocationWithAlign
Hierarchy
-
↳
FlatIndexLocationWithAlign
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
behavior
• Optional
behavior: "auto"
| "smooth"
Set 'smooth' to have an animated transition to the specified location.
Inherited from
offset
• Optional
offset: number
The offset to scroll.