Skip to content

Commit 59549aa

Browse files
committed
Documentation typos and grammar fixes
1 parent 7735a19 commit 59549aa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## vue-virtual-scroll-list
1313

14-
> A vue (2.x) component support big data and infinite loading by using virtual scroll list.
14+
> A vue (2.x) component that supports big data and infinite loading by using virtual scroll list.
1515
1616
* Tiny and very easy to use.
1717

@@ -67,7 +67,7 @@ npm install vue-virtual-scroll-list --save
6767
</script>
6868
```
6969

70-
The `<Item>` component is included inside but defined outside the `<virtualList>` component. We see that `<virtualList>` **not** rely on `<Item>` component. So you can use virtual-list with any list item component freely.
70+
The `<Item>` component is included inside but defined outside the `<virtualList>` component. We see that `<virtualList>` does **not** rely on the `<Item>` component. So you can use virtual-list with any list item component freely.
7171

7272
#### Using by script tag:
7373

@@ -107,13 +107,13 @@ new Vue({
107107
*Prop* | *Type* | *Required* | *Description* |
108108
:--- | :--- | :--- | :--- |
109109
| size | Number || Each list item height, currently only supports fixed height. |
110-
| 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). |
111-
| 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. |
110+
| remain | Number || How many items should be shown in virtual-list viewport, so `size` and `remainn` will determine the virtual-list outside container height (size × remian). |
111+
| start | Number | * | Default value is `0`, the initial scroll start index. It must be integer and in the range of list index, throws a warning if index does not exist. |
112112
| 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;` |
113113
| rtagClass | String | * | Default value is an empty string, the virtual-list's root HTMLElement tag's classes. Has the same API has [`v-bind:class`](https://vuejs.org/v2/guide/class-and-style.html) |
114114
| 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;` |
115115
| wtagClass | String | * | Default value is an empty string, the virtual-list's item wrapper HTMLElement tag's classes. Has the same API has [`v-bind:class`](https://vuejs.org/v2/guide/class-and-style.html) |
116-
| onscroll | Function | * | Called when virtual-list scroll event hanlding, param: `(e, scrollTop)`. |
116+
| onscroll | Function | * | Called when virtual-list scroll event handling, param: `(e, scrollTop)`. |
117117
| totop | Function | * | Called when the virtual-list is scrolled to top. |
118118
| tobottom | Function | * | Called when the virtual-list is scrolled to bottom. |
119119

@@ -125,7 +125,7 @@ Welcome to improve vue-virtual-scroll-list by any pull request or issue.
125125

126126
## Changelogs
127127

128-
Maintain and update occasionally, changes see [releasese](https://github.com/tangbc/vue-virtual-scroll-list/releases).
128+
Maintain and update occasionally, for changes see [release](https://github.com/tangbc/vue-virtual-scroll-list/releases).
129129

130130
## License
131131

0 commit comments

Comments
 (0)