import { Component, Input } from '@angular/core';

@Component({
    selector: 'TermLine',
    moduleId: module.id,
    templateUrl: './term-line.component.html',
    styleUrls: ['../info-line/_info-line.component.scss'],
})
export class TermLineComponent {

    isSeparated: boolean = false;
    @Input() title: string = '';
    @Input() start: string;
    @Input() end: string;
    @Input() default: string = '';
    @Input() style: string = '';
    @Input() class: string = '';
    @Input() showTime: boolean = false;
    @Input()
    set separated(value: string) {
        this.isSeparated = value != 'false';
    };

}
