2020-03-11 21:00:59 +01:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2020-03-30 23:02:46 +02:00
|
|
|
import { Type } from '../../type';
|
2020-03-19 20:17:38 +01:00
|
|
|
import { cardElevation } from '../../style';
|
2020-03-12 02:22:43 +01:00
|
|
|
|
2020-03-11 16:01:11 +01:00
|
|
|
|
2020-03-11 03:51:50 +01:00
|
|
|
@Component({
|
|
|
|
selector: 'app-status-list',
|
|
|
|
templateUrl: './status-list.component.html',
|
|
|
|
styleUrls: ['./status-list.component.scss']
|
|
|
|
})
|
2020-03-11 21:00:59 +01:00
|
|
|
export class StatusListComponent implements OnInit {
|
2020-03-30 23:02:46 +02:00
|
|
|
currentListType: Type = Type.Folder;
|
|
|
|
listType = Type; // used in html
|
2020-03-19 20:17:38 +01:00
|
|
|
elevation: string = cardElevation;
|
2020-03-30 20:44:52 +02:00
|
|
|
title: string = 'Status';
|
2020-03-11 03:51:50 +01:00
|
|
|
|
2020-03-11 21:00:59 +01:00
|
|
|
constructor() { }
|
2020-03-11 03:51:50 +01:00
|
|
|
|
2020-03-11 21:00:59 +01:00
|
|
|
ngOnInit(): void {
|
2020-03-11 03:51:50 +01:00
|
|
|
}
|
|
|
|
|
2020-03-30 23:02:46 +02:00
|
|
|
onToggle(t: Type) {
|
2020-03-19 23:05:04 +01:00
|
|
|
this.currentListType = t;
|
2020-03-12 02:22:43 +01:00
|
|
|
}
|
2020-03-11 03:51:50 +01:00
|
|
|
}
|