VVirtualScroll API
Props
name | type | default |
|---|---|---|
string | number | undefined | |
Height of the component as a css value/ | ||
string | number | null | |
Height in pixels of each item to display. | ||
SelectItemKey | null | |
Should point to a property with a unique value for each item, if not set then item index will be used as a key which may result in unnecessary re-renders. | ||
unknown[] | [] | |
The array of items to display. | ||
string | number | undefined | |
Sets the maximum height for the component. | ||
string | number | undefined | |
Sets the maximum width for the component. | ||
string | number | undefined | |
Sets the minimum height for the component. | ||
string | number | undefined | |
Sets the minimum width for the component. | ||
boolean
| false | |
Disables default component rendering functionality. The parent node must be a positioned element, e.g. using | ||
string | number | undefined | |
Sets the width for the component. | ||
Slots
Default slot to render a single item. | ||
Exposed
Trigger updating the currently rendered items based on scroll position. | ||
Scrolls to the item at a given index. | ||