mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
add new features
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
||||
import { environment } from 'src/environments/environment';
|
||||
import { ThemeService } from 'src/app/services/theme.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-task-list-header',
|
||||
templateUrl: './task-list-header.page.html',
|
||||
styleUrls: ['./task-list-header.page.scss'],
|
||||
})
|
||||
export class TaskListHeaderPage implements OnInit {
|
||||
|
||||
@Input() headerName = 'name'
|
||||
@Input() goBackButton = false
|
||||
@Input() loading = true
|
||||
@Input() loaderTop = false;
|
||||
@Input() loaderBottom = false;
|
||||
@Output() goBack = new EventEmitter<any>();
|
||||
@Output() reorderList = new EventEmitter<any>();
|
||||
@Output() changeFilterName = new EventEmitter<any>();
|
||||
|
||||
environment = environment
|
||||
filterName: 'Para hoje' | 'Novos'| 'Lidos'| 'Não lidos'| 'OverdueTasks' | 'Todos' = 'Todos'
|
||||
@Input() ordinance: string = 'old'
|
||||
|
||||
constructor(
|
||||
public ThemeService: ThemeService,
|
||||
) { }
|
||||
|
||||
ngOnInit() {}
|
||||
}
|
||||
Reference in New Issue
Block a user