diff --git a/packages/gantt/src/components/main/gantt-main.component.html b/packages/gantt/src/components/main/gantt-main.component.html index 4c7e9924..7bcb4330 100644 --- a/packages/gantt/src/components/main/gantt-main.component.html +++ b/packages/gantt/src/components/main/gantt-main.component.html @@ -1,4 +1,9 @@ - +
@@ -18,7 +23,8 @@
- + +
; + @Input() barTemplate: TemplateRef; @Output() barClick = new EventEmitter(); diff --git a/packages/gantt/src/gantt-upper.ts b/packages/gantt/src/gantt-upper.ts index e9f92821..10e19165 100644 --- a/packages/gantt/src/gantt-upper.ts +++ b/packages/gantt/src/gantt-upper.ts @@ -60,6 +60,8 @@ export abstract class GanttUpper { @ContentChild('bar', { static: true }) barTemplate: TemplateRef; + @ContentChild('item', { static: true }) itemTemplate: TemplateRef; + @ContentChild('group', { static: true }) groupTemplate: TemplateRef; public linkable: boolean; diff --git a/packages/gantt/src/gantt.component.html b/packages/gantt/src/gantt.component.html index d8d84367..714b35a6 100644 --- a/packages/gantt/src/gantt.component.html +++ b/packages/gantt/src/gantt.component.html @@ -6,6 +6,7 @@