ScrollerProps interface
滚动组件:虚拟滚动列表,仅渲染可见行
Signature
typescript
interface ScrollerProps1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (Optional) Number of extra buffered rows to render | ||
any | (Optional) Child node | ||
number | Total row count (required) | ||
number | Height of each row (pixels, required) | ||
(visibleRows: { index: number; slotName: string }[]) => void | (Optional) 可见行变化时触发,参数为可见行索引与对应插槽名列表 |