From e7119906509b36c319ae95beb464f5cdf50b0c54 Mon Sep 17 00:00:00 2001 From: manueltauber Date: Thu, 29 Jun 2023 16:56:33 +0200 Subject: [PATCH] Dokumentation --- frontend/src/ntt-gantt/ntt-gantt.component.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/ntt-gantt/ntt-gantt.component.ts b/frontend/src/ntt-gantt/ntt-gantt.component.ts index eae2a1a..d8b1b9b 100644 --- a/frontend/src/ntt-gantt/ntt-gantt.component.ts +++ b/frontend/src/ntt-gantt/ntt-gantt.component.ts @@ -36,13 +36,20 @@ export const MY_DATE_FORMATS = { ] }) export class NttGanttComponent implements OnInit { + + /**###################################################################### Variable Declarations and Definitions ######################################################################*/ + + /**############################### ViewChild Components /**###############################*/ @ViewChild('ganttObject') public ganttDefault!: GanttComponent; + @ViewChild('plantimeComponent') public plantimeComponent!: PlanTimeBarComponent; @ViewChild(MatPaginator) paginator: MatPaginator; + /**############################### Default Variables /**###############################*/ + public range = new FormGroup({ start: new FormControl(new Date('12/01/2022')), end: new FormControl(new Date('01/31/2024')), @@ -105,6 +112,7 @@ export class NttGanttComponent implements OnInit { public oldSort = null; public planTimes : any[] = []; + /**###################################################################### Initial Loading functions ######################################################################*/ /** * The constructor injects required dependencies