17 lines
445 B
Python
17 lines
445 B
Python
ngGridLayoutPlugin = function() {
|
|
var self = this;
|
|
this.grid = null;
|
|
this.scope = null;
|
|
this.init = function(scope, grid, services) {
|
|
self.domUtilityService = services.DomUtilityService;
|
|
self.grid = grid;
|
|
self.scope = scope;
|
|
};
|
|
|
|
this.updateGridLayout = function () {
|
|
self.scope.$apply(function(){
|
|
self.domUtilityService.RebuildGrid(self.scope, self.grid);
|
|
});
|
|
};
|
|
}
|