diff --git a/packages/gantt/src/components/scrollbar/scrollbar.component.html b/packages/gantt/src/components/scrollbar/scrollbar.component.html new file mode 100644 index 00000000..78cb9642 --- /dev/null +++ b/packages/gantt/src/components/scrollbar/scrollbar.component.html @@ -0,0 +1,11 @@ +
diff --git a/packages/gantt/src/components/scrollbar/scrollbar.component.ts b/packages/gantt/src/components/scrollbar/scrollbar.component.ts new file mode 100644 index 00000000..7e6ca118 --- /dev/null +++ b/packages/gantt/src/components/scrollbar/scrollbar.component.ts @@ -0,0 +1,20 @@ +import { Component, Inject, Input } from '@angular/core'; +import { GANTT_UPPER_TOKEN, GanttUpper } from '../../gantt-upper'; +import { NgClass } from '@angular/common'; +import { NgxGanttRootComponent } from '../../root.component'; + +@Component({ + selector: 'gantt-scrollbar', + templateUrl: `./scrollbar.component.html`, + imports: [NgClass], + standalone: true +}) +export class GanttScrollbarComponent { + @Input() hasGanttFooter: boolean = false; + + @Input() ganttTableWidth: number; + + @Input() ganttRoot: NgxGanttRootComponent; + + constructor(@Inject(GANTT_UPPER_TOKEN) public ganttUpper: GanttUpper) {} +} diff --git a/packages/gantt/src/gantt.component.html b/packages/gantt/src/gantt.component.html index d4d042d2..1879b871 100644 --- a/packages/gantt/src/gantt.component.html +++ b/packages/gantt/src/gantt.component.html @@ -67,21 +67,11 @@