UNPKG

angular-gantt-chart

Version:

This library can be used in Angular 2 application for creating responsive gantt chart. The chart component consists of inline SVG. The component accepts input data from child component using input decorator of Angular 2.

29 lines (26 loc) 602 B
import {NgModule, ModuleWithProviders} from '@angular/core'; import {CommonModule} from '@angular/common'; import {GanttChartComponent} from './src/gantt-chart.component'; import {TruncatePipe} from './src/truncate.pipe'; export * from './src/gantt-chart.component'; export * from './src/truncate.pipe'; @NgModule({ imports: [ CommonModule ], declarations: [ GanttChartComponent, TruncatePipe ], exports: [ GanttChartComponent, TruncatePipe ] }) export class GanttChart { static forRoot(): ModuleWithProviders { return { ngModule: GanttChart, }; } }