mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Remove not supported property from document list
Custom folder icons as material design icon names are not supported for the time being and might be reintroduced later.
This commit is contained in:
@@ -210,23 +210,6 @@ HTML attributes:
|
|||||||
For `date` column type the [DatePipe](https://angular.io/docs/ts/latest/api/common/DatePipe-class.html) formatting is used.
|
For `date` column type the [DatePipe](https://angular.io/docs/ts/latest/api/common/DatePipe-class.html) formatting is used.
|
||||||
For a full list of available `format` values please refer to [DatePipe](https://angular.io/docs/ts/latest/api/common/DatePipe-class.html) documentation.
|
For a full list of available `format` values please refer to [DatePipe](https://angular.io/docs/ts/latest/api/common/DatePipe-class.html) documentation.
|
||||||
|
|
||||||
### Custom folder icon
|
|
||||||
|
|
||||||
Document list element exposes `folder-icon` property that accepts a CSS class list value with
|
|
||||||
[folder_open](https://design.google.com/icons/#ic_folder_open) by default.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
You can provide any list of classes in order to customize look and feel of the icon.
|
|
||||||
Example below shows the use of [folder_special](https://design.google.com/icons/#ic_folder_special) icon instead of the default one:
|
|
||||||
|
|
||||||
```html
|
|
||||||
<alfresco-document-list folder-icon="folder_special" ...>
|
|
||||||
</alfresco-document-list>
|
|
||||||
```
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
Document List supports declarative actions for Documents and Folders.
|
Document List supports declarative actions for Documents and Folders.
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 31 KiB |
@@ -64,9 +64,6 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit,
|
|||||||
@Input()
|
@Input()
|
||||||
breadcrumb: boolean = false;
|
breadcrumb: boolean = false;
|
||||||
|
|
||||||
@Input('folder-icon')
|
|
||||||
folderIcon: string;
|
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
thumbnails: boolean = false;
|
thumbnails: boolean = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user