Skip to content

Commit 0ba1435

Browse files
committed
Add usage for display no results and no more data tips feature
1 parent 63e382c commit 0ba1435

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,32 @@ As you know, this property is an official directive of `Vue.js` for render eleme
8585
- required false
8686
```
8787

88+
### Events
89+
90+
#### $InfiniteLoading:loaded
91+
When the `InfiniteLoading` component received this event, it will hide the loading animation and continue to wait the next trigger.
92+
93+
#### $InfiniteLoading:noResults
94+
When the `InfiniteLoading` component received this event, it will display the no results tips.
95+
96+
#### $InfiniteLoading:noMore
97+
When the `InfiniteLoading` component received this event, it will display the no more data tips.
98+
99+
### Slots
100+
101+
#### no-results
102+
This content will display when the `InfiniteLoading` component received `$InfiniteLoading:noResults` event.
103+
```
104+
- type String
105+
- default No results :(
106+
```
107+
108+
#### no-more
109+
This content will display when the `InfiniteLoading` component received `$InfiniteLoading:noMore` event.
110+
```
111+
- type String
112+
- default No more data :)
113+
88114
## Development Setup
89115
```bash
90116
# install dependencies

0 commit comments

Comments
 (0)