ScrollerProps interface
滚动组件:虚拟滚动列表,仅渲染可见行
Signature
typescript
export interface ScrollerProps1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (Optional) 额外缓冲渲染的行数 | ||
any | (Optional) 子节点 | ||
number | 总行数(必填) | ||
number | 每行高度(像素,必填) | ||
(visibleRows: { index: number; slotName: string }[]) => void | (Optional) 可见行变化时触发,参数为可见行索引与对应插槽名列表 |