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

VirtualSvelteListBinding

Reactive range and layout attachments for a virtual list.

Extends

Properties

items

items: Attachment<HTMLElement>;

Attachment for the rendered-items element.

Inherited from

VirtualSvelteLayoutBinding.items


model

model: VirtualScroller;

Component-owned virtual-scroller model.


range

range: () => number[];

Reactive array containing the currently rendered indexes.

Returns

number[]


scroller

scroller: Attachment<HTMLElement>;

Attachment for the scroller element.

Inherited from

VirtualSvelteLayoutBinding.scroller


size

size: Attachment<HTMLElement>;

Attachment for the native size element.

Inherited from

VirtualSvelteLayoutBinding.size