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
*[vue-virtual-scroll-list with 100,000 finite data](https://tangbc.github.io/vue-virtual-scroll-list/examples/finite/).
32
37
33
38
*[vue-virtual-scroll-list infinite data by request 20 each time](https://tangbc.github.io/vue-virtual-scroll-list/examples/infinite/).
34
39
35
40
36
-
## Usage
41
+
## Simple usage
37
42
38
43
#### Using by npm:
39
44
@@ -96,7 +101,7 @@ new Vue({
96
101
**Notice: list Item component or DOM frag using `v-for` must designate the `:key` property.**
97
102
98
103
99
-
## Props
104
+
## Props type
100
105
101
106
*Prop* | *Type* | *Required* | *Description* |
102
107
:--- | :--- | :--- | :--- |
@@ -105,16 +110,20 @@ new Vue({
105
110
| start | Number | * | Default value is `0`, the initial scroll start index. It must be integer and in the range of list index, do nothing but throw a warnning if not match. |
106
111
| rtag | String | * | Default value is `div`, the virtual-list's root HTMLElement tag name, in all case it's style is set to `display: block;`|
107
112
| wtag | String | * | Default value is `div`, the virtual-list's item wrapper HTMLElement tag name, in all case it's style is set to `display: block;`|
108
-
| onscroll | Function | * |Call on virtual-list scroll event hanlding, param: `(e, scrollTop)`. |
109
-
| totop | Function | * |A function triggered when the virtual-list is scrolled to top. |
110
-
| tobottom | Function | * |A function triggered when the virtual-list is scrolled to bottom. |
113
+
| onscroll | Function | * |Called when virtual-list scroll event hanlding, param: `(e, scrollTop)`. |
114
+
| totop | Function | * |Called when the virtual-list is scrolled to top. |
115
+
| tobottom | Function | * |Called when the virtual-list is scrolled to bottom. |
111
116
112
117
113
118
## Contributions
114
119
115
120
Welcome to improve vue-virtual-scroll-list by any pull request or issue.
116
121
117
122
123
+
## Changelogs
124
+
125
+
See [releasese](https://github.com/tangbc/vue-virtual-scroll-list/releases).
0 commit comments