mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
docs(components): [infinite-scroll] use new display tag (#12670)
* docs(components): [infinite-scroll] use new display tag * docs(components): [infinite-scroll] update default of directives
This commit is contained in:
parent
a3a50e5dc2
commit
5b52982da3
@ -27,10 +27,10 @@ infinite-scroll/disable-loading
|
||||
|
||||
## Directives
|
||||
|
||||
| Name | Description | Type | Accepted values | Default |
|
||||
| ------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------- | --------------- | ------- |
|
||||
| v-infinite-scroll | Load more data while reach bottom of the page | function | - | - |
|
||||
| infinite-scroll-disabled | is disabled | boolean | - | false |
|
||||
| infinite-scroll-delay | throttle delay (ms) | number | - | 200 |
|
||||
| infinite-scroll-distance | trigger distance (px) | number | - | 0 |
|
||||
| infinite-scroll-immediate | Whether to execute the loading method immediately, in case the content cannot be filled up in the initial state. | boolean | - | true |
|
||||
| Name | Description | Type | Default |
|
||||
| ------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----------- | ------- |
|
||||
| v-infinite-scroll | Load more data while reach bottom of the page | ^[Function] | — |
|
||||
| infinite-scroll-disabled | is disabled | ^[boolean] | false |
|
||||
| infinite-scroll-delay | throttle delay (ms) | ^[number] | 200 |
|
||||
| infinite-scroll-distance | trigger distance (px) | ^[number] | 0 |
|
||||
| infinite-scroll-immediate | Whether to execute the loading method immediately, in case the content cannot be filled up in the initial state. | ^[boolean] | true |
|
||||
|
Loading…
Reference in New Issue
Block a user