Skip to content

VirtualList 虚拟列表

虚拟列表用于优化大数据量场景下的渲染性能,只渲染可视区域内的元素。

基础用法

SXO Framework Switcher
🚧
This example is not yet available for .

API

参数说明类型默认值
items数据源Array[]
itemHeight每一项的高度 (px)Number-
containerHeight容器高度 (px)Number400
overscan额外渲染的数量(上下各增加的数量)Number5