interface@af-utils/virtual-solid
On this page

ListItemProps<Data>

Props passed to one Solid virtual-list item component.

Type Parameters

Data

Data = unknown

Properties

data?

optional data?: Data;

Data forwarded from the list’s itemData property.


index

index: Accessor<number>;

Reactive current item index.


model

model: VirtualScroller;

Model owning the rendered item range.