mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
add possible future configurability display mode document list and datatable (#2998)
This commit is contained in:
@@ -79,7 +79,7 @@ Displays the documents from a repository.
|
||||
| skipCount | `number` | `0` | Number of elements to skip over for pagination purposes |
|
||||
| enableInfiniteScrolling | `boolean` | `false` | Set document list to work in infinite scrolling mode |
|
||||
| showHeader | `boolean` | `true` | Toggles header visibility |
|
||||
| cardview | `boolean` | `false` | Enable the cardview mode |
|
||||
| display | string | 'list' | change the display mode can be one of the values provided by the enum : **list**, **gallery** |
|
||||
|
||||
### Events
|
||||
|
||||
@@ -141,7 +141,7 @@ If you want enable the card view mode you need to set to true the input paramete
|
||||
```html
|
||||
<adf-document-list
|
||||
[currentFolderId]="'-my-'"
|
||||
[cardview]="true">
|
||||
[display]="'gallery'">
|
||||
</adf-document-list>
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user