2020-04-02 02:43:54 +02:00
|
|
|
import { Component, Input } from '@angular/core';
|
2020-03-20 00:00:28 +01:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-chart-item',
|
|
|
|
templateUrl: './chart-item.component.html',
|
|
|
|
styleUrls: ['./chart-item.component.scss']
|
|
|
|
})
|
2020-04-02 02:43:54 +02:00
|
|
|
export class ChartItemComponent {
|
2020-03-20 17:32:10 +01:00
|
|
|
@Input() state: string;
|
|
|
|
@Input() count: number;
|
2020-04-03 16:08:56 +02:00
|
|
|
@Input('selected')
|
|
|
|
set selected(s: boolean) {
|
|
|
|
this._selected = s;
|
|
|
|
}
|
|
|
|
|
|
|
|
_selected: boolean = true;
|
2020-03-20 00:00:28 +01:00
|
|
|
|
2020-04-02 02:43:54 +02:00
|
|
|
constructor() { }
|
2020-03-20 00:00:28 +01:00
|
|
|
}
|