Skip to main content

Type alias: ItemLocation

Ƭ ItemLocation: number | ItemLocationWithAlign

A location in the list to scroll to. Passing a number scrolls instantly to the item at the specified index aligned to the top. See ItemLocationWithAlign for more advanced options.