VVirtualScroll API
组件页面
属性
名称 | 类型 | 默认值 |
---|---|---|
height | ||
Height of the component as a css value/ | ||
item-height | ||
Height in pixels of each item to display. | ||
items | ||
The array of items to display. | ||
max-height | ||
Sets the maximum height for the component. | ||
max-width | ||
Sets the maximum width for the component. | ||
min-height | ||
Sets the minimum height for the component. | ||
min-width | ||
Sets the minimum width for the component. | ||
renderless | ||
Disables default component rendering functionality. | ||
width | ||
Sets the width for the component. |
插槽
default |
Default slot to render a single item. |
可用属性
scrollToIndex |
Scrolls to the item at a given index. |