[ADF-3369] Add toggle for showHeaderContent property (#3603)

* Add toggle for showHeaderContent property

* Add tests for showHeaderContent property
This commit is contained in:
cristinaj
2018-07-20 12:15:14 +03:00
committed by Eugenio Romano
parent ac057ee4fe
commit b015594de6
9 changed files with 161 additions and 34 deletions

View File

@@ -15,6 +15,15 @@
</h2>
</div>
<mat-slide-toggle
class="adf-task-details-toggle"
id="showHeaderToggle"
[color]="'primary'"
(change)="toggleHeaderContent()"
[checked]="showHeaderContent">
{{ 'PS-TAB.TASK-SHOW-HEADER'| translate }}
</mat-slide-toggle>
<div class="adf-task-details-core"
fxLayout="column"
fxLayoutGap="8px"

View File

@@ -52,6 +52,10 @@ adf-task-header.assign-edit-view ::ng-deep adf-card-view ::ng-deep .adf-property
}
}
&-toggle {
position: relative;
}
&-core {
display: flex;
justify-content: space-between;