mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2157] Infinite pagination target supporting (#2856)
* Infinite pagination target supporting * Updating documentation
This commit is contained in:
committed by
Eugenio Romano
parent
d189567853
commit
89a7b0c4b0
@@ -14,6 +14,17 @@ Adds "infinite" pagination to the component it is used with.
|
||||
</adf-infinite-pagination>
|
||||
```
|
||||
|
||||
## Integrating with Document List
|
||||
|
||||
```html
|
||||
<adf-document-list #documentList ...></adf-document-list>
|
||||
|
||||
<adf-infinite-pagination
|
||||
[target]="documentList"
|
||||
[loading="documentList.infiniteLoading">
|
||||
</adf-infinite-pagination>
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
@@ -21,6 +32,8 @@ Adds "infinite" pagination to the component it is used with.
|
||||
| pagination | Pagination | `InfinitePaginationComponent.DEFAULT_PAGINATION` | Pagination object |
|
||||
| pageSize | number | `InfinitePaginationComponent.DEFAULT_PAGE_SIZE` | Number of items that are added with each "load more" event |
|
||||
| loading | boolean | false | |
|
||||
| target | PaginatedComponent | | Component that provides custom pagination support |
|
||||
|
||||
|
||||
### Events
|
||||
|
||||
|
Reference in New Issue
Block a user