You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ export default function BaseExample() {
76
76
-`persistentIndices`: `number[]`. Array of indices of items to be persistently rendered. This keeps the corresponding items rendered continuously without being removed due to being outside the rendering area. You can make them sticky by using CSS `position:sticky`.
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
-
-`onScroll`: `typeof document.onscroll`. Listen for the list's scroll event. Type is same with HTML native onscroll handle.
79
+
-`onScroll`: `React.UIEventHandler`. Listen for the list's scroll event. Type is same with HTML native onscroll handle.
80
80
-`virtual`: `boolean`. default: `false`. 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.
0 commit comments