"client/src/app/git@gitlab.lam.fr:anis/anis-next.git" did not exist on "773c4254493fbe5af942f1c347501fa64bc978d2"
Newer
Older
/**
* This file is part of Anis Client.
*
* @copyright Laboratoire d'Astrophysique de Marseille / CNRS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
/**
* @class
* @classdesc Attribute label component.
*/
@Component({
selector: 'app-attribute-label',
templateUrl: 'attribute-label.component.html',
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AttributeLabelComponent implements OnInit {
@Input() label: string;
@Input() description: string;
@Input() form_label?: string;
name: string = null;
ngOnInit() {
this.name = this.form_label ? this.form_label : this.label;
};