Skip to content

Data

Keeps an item at the same viewport position while list data is replaced. The index is resolved against the data before the replacement.

number | "LAST"

The item to preserve. Negative indexes count from the end of the current data. The item is matched after replacement with the list’s itemIdentity function.


"preserve"

Preserve the item’s current pixel position in the viewport.