angular-gantt
Version:
Gantt chart component for AngularJS
16 lines (13 loc) • 553 B
JavaScript
(function(){
'use strict';
angular.module('gantt').factory('GanttBody', ['GanttBodyColumns', 'GanttBodyRows', 'GanttBodyBackground', 'GanttBodyForeground', function(BodyColumns, BodyRows, BodyBackground, BodyForeground) {
var Body= function(gantt) {
this.gantt = gantt;
this.background = new BodyBackground(this);
this.foreground = new BodyForeground(this);
this.columns = new BodyColumns(this);
this.rows = new BodyRows(this);
};
return Body;
}]);
}());