[ADF-1015] make "loading" state two-way bindable (document list) (#2052)

* make "loading" state two-way bindable

* update documentation

- update readme
- move "loading" property up to @Input properties
This commit is contained in:
Denys Vuika
2017-07-07 12:44:32 +01:00
committed by Eugenio Romano
parent 012d62eb55
commit dd61cf7b45
2 changed files with 4 additions and 1 deletions

View File

@@ -99,6 +99,9 @@ export class DocumentListComponent implements OnInit, OnChanges, AfterContentIni
@Input()
rowStyleClass: string;
@Input()
loading: boolean = false;
skipCount: number = 0;
pagination: Pagination;
@@ -161,7 +164,6 @@ export class DocumentListComponent implements OnInit, OnChanges, AfterContentIni
contextActionHandler: Subject<any> = new Subject();
data: ShareDataTableAdapter;
loading: boolean = false;
private currentNodeAllowableOperations: string[] = [];
private CREATE_PERMISSION = 'create';