File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export default function BaseExample() {
77
77
- ` listSize ` : ` number ` , default: 1000. Height of the visible area of the list. Only used before DOM creation, suitable for SSR.
78
78
- ` triggerDistance ` : ` number ` . The min distance to trigger re-rendering when scrolling.
79
79
- ` onScroll ` : ` React.UIEventHandler ` . Listen for the list's scroll event. Type is same with HTML native onscroll handle.
80
- - ` virtual ` : ` boolean ` . default: ` false ` . Whether to enable the virtual list feature. Render all items if disabled.
80
+ - ` virtual ` : ` boolean ` . default: ` true ` . Whether to enable the virtual list feature. Render all items if disabled.
81
81
- ` className ` : ` string ` . Add a CSS class to the list root element.
82
82
- ` style ` : ` React.CSSProperties ` . Add CSS styles to the list root element.
83
83
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export default function BaseExample() {
77
77
- ` listSize ` : ` number ` , 默认值: 1000. 列表的可见区域高度。仅用于 DOM 创建前使用,适用于 SSR.
78
78
- ` triggerDistance ` : ` number ` . 滚动时触发重新渲染的距离。
79
79
- ` onScroll ` : ` React.UIEventHandler ` . 监听列表的 scorll 事件。类型与 HTML 原生 onscroll 监听器相同。
80
- - ` virtual ` : ` boolean ` . 默认` false ` . 是否启用虚拟列表。不启用则会渲染全部列表项。
80
+ - ` virtual ` : ` boolean ` . 默认` true ` . 是否启用虚拟列表。不启用则会渲染全部列表项。
81
81
- ` className ` : ` string ` . 附加 css class 到根元素。
82
82
- ` style ` : ` React.CSSProperties ` . 附加 css style 到根元素。
83
83
You can’t perform that action at this time.
0 commit comments