mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2322] Card view datatable and documentlist (#2968)
* move table in style * Enable the cardview mode * add button in demo shell to change view add missing translation terms toolbar * missing comma * add example in demo shell * style loading and images * border card container * document list tests * test check class and input * test fix * fix test process services * more documentation * rirpristinate base pacakge integgration * remove test color
This commit is contained in:
@@ -71,6 +71,10 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
||||
|
||||
@ContentChild(DataColumnListComponent) columnList: DataColumnListComponent;
|
||||
|
||||
/* Enable the cardview mode */
|
||||
@Input()
|
||||
cardview: boolean = false;
|
||||
|
||||
/** Define a set of CSS styles styles to apply depending on the permission
|
||||
* of the user on that node. See the Permission Style model
|
||||
* page for further details and examples.
|
||||
@@ -86,6 +90,10 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
||||
@Input()
|
||||
navigate: boolean = true;
|
||||
|
||||
/** Toggles the header */
|
||||
@Input()
|
||||
showHeader: boolean = true;
|
||||
|
||||
/** User interaction for folder navigation or file preview. Valid values are "click" and "dblclick". */
|
||||
@Input()
|
||||
navigationMode: string = DocumentListComponent.DOUBLE_CLICK_NAVIGATION; // click|dblclick
|
||||
|
Reference in New Issue
Block a user