2020-03-11 21:00:59 +01:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2020-03-19 23:05:04 +01:00
|
|
|
import { ListType } from '../../list-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-19 23:05:04 +01:00
|
|
|
currentListType: ListType = ListType.Folders;
|
|
|
|
listType = ListType; // used in html
|
2020-03-19 20:17:38 +01:00
|
|
|
elevation: string = cardElevation;
|
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-19 23:05:04 +01:00
|
|
|
onToggle(t: ListType) {
|
|
|
|
this.currentListType = t;
|
2020-03-12 02:22:43 +01:00
|
|
|
}
|
2020-03-11 03:51:50 +01:00
|
|
|
}
|