pm-controls
Version:
ProModel Controls
34 lines (29 loc) • 945 B
text/typescript
import {
Component,
Input,
EventEmitter,
Output
} from '@angular/core';
import { Property } from '../../../objects/request/properties/property';
import { Orientation } from '../../../objects/enums/orientation';
export class FormGroupComponent {
Property: Property;
ShowTooltip: boolean;
get OrientationClass() {
if (this.Property && this.Property.Orientation == Orientation.Horizontal)
return "form-horizontal";
}
get GroupContainerClass() {
if (this.Property && this.Property.Orientation == Orientation.Horizontal)
return "layout-flex layout-flex-fill";
}
get GroupClass() {
if (this.Property && this.Property.Orientation == Orientation.Horizontal)
return "layout-flex-fill";
}
}