Add display property to ModelView components (#7579)

* Add display property to ModelView components

* Update DisplayType property in sqlops as well
This commit is contained in:
Charles Gagnon
2019-10-09 10:28:18 -07:00
committed by GitHub
parent f475c04ce3
commit 33218bb0e5
6 changed files with 75 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ export class FlexItem {
@Component({
template: `
<div *ngIf="items" class="flexContainer" [style.flexFlow]="flexFlow" [style.justifyContent]="justifyContent" [style.position]="position"
<div *ngIf="items" class="flexContainer" [style.display]="display" [style.flexFlow]="flexFlow" [style.justifyContent]="justifyContent" [style.position]="position"
[style.alignItems]="alignItems" [style.alignContent]="alignContent" [style.height]="height" [style.width]="width" [style.flex-wrap]="flexWrap">
<div *ngFor="let item of items" [style.flex]="getItemFlex(item)" [style.textAlign]="textAlign" [style.order]="getItemOrder(item)" [ngStyle]="getItemStyles(item)">
<model-component-wrapper [descriptor]="item.descriptor" [modelStore]="modelStore">