Skip to content

Commit 882161f

Browse files
committed
Update README.md
1 parent c46fe6e commit 882161f

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,20 @@ An example of how to use the library
6868

6969
Component props:
7070

71-
| Prop | Type | Default | Description |
72-
| ------------- | ------ | ------- | ----------------------------------------- |
73-
| threshold | number | 0 | Threshold to call loadMore |
74-
| elementScroll | node | - | Element to bind scroll |
75-
| window | bool | false | Bind scroll in window |
76-
| hasMore | bool | true | Tells you if there are more items to load |
77-
| loadMore | func | -- | Call with offset |
78-
| horizontal | bool | false | Changing orientation |
79-
| reverse | bool | false | Revese scroll direction |
71+
| Prop | Type | Default | Description |
72+
| --------------- | ------ | ------- | ----------------------------------------- |
73+
| `threshold` | number | 0 | Threshold to call loadMore |
74+
| `elementScroll` | node | - | Element to bind scroll |
75+
| `window` | bool | false | Bind scroll in window |
76+
| `hasMore` | bool | true | Tells you if there are more items to load |
77+
| `horizontal` | bool | false | Changing orientation |
78+
| `reverse` | bool | false | Revese scroll direction |
79+
80+
## Events
81+
82+
| Event | Description |
83+
| ---------- | ----------------------------------------- |
84+
| `loadMore` | Tells you if there are more items to load |
8085

8186
## NPM Statistics
8287

0 commit comments

Comments
 (0)