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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## vue-virtual-scroll-list
6
6
7
-
> A vue component support big data by using virtual scroll list. Tiny, smooth and without any dependence.
7
+
> A vue (2.x) component support big data by using virtual scroll list. Tiny, smooth and without any dependence.
8
8
9
9
10
10
## How it works
@@ -66,7 +66,7 @@ The `<Item />` component is defined outside but included inside the `<VirtualLis
66
66
67
67
*Prop* | *Type* | *Required* | *Description* |
68
68
:--- | :--- | :--- | :--- |
69
-
| size | Number | ✓ | Each list item height (pixel). |
69
+
| size | Number | ✓ | Each list item height, currently only supports fixed height. |
70
70
| remain | Number | ✓ | How many items except show in virtual list viewport, so `size` and `remian` will determine the virtual list outside container height (size × remian). |
71
71
| onScroll | Function | * | Call on virtual list scroll event hanlding, param: `(scrollTop, e)`|
72
72
| toTop | Event | * | An event emit by virtual list component when the list is scrolled on top. |
0 commit comments