Denys Vuika 8158a6b007 Core settings service, license fixes
- fixed license text as per Apache appendix
(http://www.apache.org/licenses/LICENSE-2.0)
- added AlfrescoSettings service to the core component library
- document list now takes host information from the AlfrescoSettings
service
2016-04-26 11:09:01 +01:00
..
2016-04-26 11:09:01 +01:00
2016-04-22 22:48:14 +01:00

Alfresco Components for Angular 2

Components included:

  • Document List Component
  • Alfresco Service (TBD)

Document List Component

export class MyView {
    thumbnails: boolean = true;
    breadcrumb: boolean = false;
    navigation: boolean = true;
    downloads: boolean = true;

    events: any[] = [];

    onItemClick($event) {
        console.log($event.value);
        this.events.push({
            name: 'Item Clicked',
            value: $event.value
        });
    }
}
<alfresco-document-list
    #list
    [thumbnails]="thumbnails"
    [breadcrumb]="breadcrumb"
    [navigate]="navigation"
    [downloads]="downloads"
    (itemClick)="onItemClick($event)">
</alfresco-document-list>

Build

npm install npm run build