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:
Denys Vuika
2016-06-13 15:02:38 +01:00
parent b8f1521cc4
commit 54a8945338
4 changed files with 0 additions and 20 deletions

View File

@@ -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.
![Default folder icon](docs/assets/folder-icon-default.png)
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>
```
![Custom folder icon](docs/assets/folder-icon-custom.png)
### 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

View File

@@ -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;