7
7
<a href =" https://github.com/tangbc/vue-virtual-scroll-list/blob/master/LICENSE " >
8
8
<img src="https://img.shields.io/github/license/tangbc/vue-virtual-scroll-list.svg" alt="MIT License"/>
9
9
</a >
10
- <br />
11
- <a href =" https://github.com/tangbc/vue-virtual-scroll-list/blob/master/LICENSE " >
12
- <img src="https://nodei.co/npm/vue-virtual-scroll-list.png?downloads=true&downloadRank=true&stars=true" alt="NPM Info"/>
13
- </a >
14
10
15
11
16
12
## vue-virtual-scroll-list
17
13
18
14
> A vue (2.x) component support big data and infinite loading by using virtual scroll list.
19
15
20
- * Tiny and easy to use.
21
-
22
- * Big data list and infinite loading.
23
-
24
- * Set the initial scroll index or change any.
16
+ * Tiny and very easy to use.
25
17
26
- * List scrolling, to top and bottom can be detected .
18
+ * Big data list and infinite loading with high performance .
27
19
20
+ * Support set the initial scroll index or change any.
28
21
29
- ## How it works
30
-
31
- <img src =" https://tangbc.github.io/github-images/virtual-scroll-list-2.gif " >
22
+ * Event scrolling, reach top and bottom can be detected.
32
23
33
24
34
25
## Live demos
38
29
* [ vue-virtual-scroll-list infinite data by request 20 each time] ( https://tangbc.github.io/vue-virtual-scroll-list/examples/infinite/ ) .
39
30
40
31
32
+ ## How it works
33
+
34
+ <img src =" https://tangbc.github.io/github-images/virtual-scroll-list-2.gif " >
35
+
36
+
41
37
## Simple usage
42
38
43
39
#### Using by npm:
@@ -98,7 +94,12 @@ new Vue({
98
94
})
99
95
```
100
96
101
- ** Notice: list Item component or DOM frag using ` v-for ` must designate the ` :key ` property.**
97
+
98
+ ## Notice
99
+
100
+ * List ` <Item/> ` component or DOM frag using ` v-for ` must designate the ` :key ` property.
101
+
102
+ * Consider use ` box-sizing: border-box; ` on ` <Item/> ` if you want absolutely correct scroll height.
102
103
103
104
104
105
## Props type
@@ -122,7 +123,7 @@ Welcome to improve vue-virtual-scroll-list by any pull request or issue.
122
123
123
124
## Changelogs
124
125
125
- See [ releasese] ( https://github.com/tangbc/vue-virtual-scroll-list/releases ) .
126
+ Maintain and update occasionally, changes see [ releasese] ( https://github.com/tangbc/vue-virtual-scroll-list/releases ) .
126
127
127
128
## License
128
129
0 commit comments