diff --git a/demo-shell-ng2/app/components/document-list.component.ts b/demo-shell-ng2/app/components/document-list.component.ts index c9fcc365fb..af961245eb 100644 --- a/demo-shell-ng2/app/components/document-list.component.ts +++ b/demo-shell-ng2/app/components/document-list.component.ts @@ -25,8 +25,8 @@ import {DocumentEntity} from "./core/entities/document.entity"; ... - - + +

{{document.displayName}}

@@ -40,6 +40,10 @@ export class DocumentList implements OnInit { // example: @Input() navigate: boolean = true; + // example: + @Input('folder-icon-class') folderIconClass: string = 'fa fa-folder-o fa-4x'; + // example: + @Input() thumbnails: boolean = true; rootFolderPath: string = 'swsdp/documentLibrary'; currentFolderPath: string = 'swsdp/documentLibrary'; diff --git a/demo-shell-ng2/app/components/page1.view.ts b/demo-shell-ng2/app/components/page1.view.ts index 4758db1501..b12bf26045 100644 --- a/demo-shell-ng2/app/components/page1.view.ts +++ b/demo-shell-ng2/app/components/page1.view.ts @@ -5,12 +5,17 @@ import {DocumentList} from "./document-list.component"; template: `
- + +
+
+
`, directives: [DocumentList] }) export class Page1View { - + thumbnails: boolean = true; }