[ADF-1729] Mark Files and Folders as Favorite (#2466)

* favorite nodes

* removed fdescribe

* use Output over CustomEvent

* EventEmitter any
This commit is contained in:
Cilibiu Bogdan
2017-10-13 12:34:25 +03:00
committed by Denys Vuika
parent a46cf4be64
commit 892157f01c
6 changed files with 632 additions and 0 deletions

View File

@@ -47,6 +47,14 @@
[adf-nodes]="documentList.selection">
<md-icon>delete</md-icon>
</button>
<button md-icon-button
#favorite="adfFavorite"
(toggle)="documentList.reload()"
[adf-node-favorite]="documentList.selection">
<md-icon>
{{ favorite.hasFavorites() ? 'star' :'star_border' }}
</md-icon>
</button>
</div>
<button fxFlex="0 0 auto" md-icon-button [mdMenuTriggerFor]="themePicker">