angular-gantt
Version:
Gantt chart component for AngularJS
11 lines (10 loc) • 315 B
text/typescript
export default function (GanttDirectiveBuilder) {
'ngInject'
let builder = new GanttDirectiveBuilder('ganttTimespan')
builder.controller = function ($scope, $element) {
$scope.timespan.$element = $element
$scope.timespan.$scope = $scope
$scope.timespan.updateView()
}
return builder.build()
}