2016-08-24 1 views

답변

0

당신은 컨트롤러 내부에서이 작업을 수행 할 수 있습니다

resize: function(event, $element, widget) { 

    } 

방송 : 나는 그들의 제안 JS를 사용하여 시도했다 :

html로에서
scope.$on('gridster-resized', function(sizes, gridster) { 
    console.log("I'm moving") 
}) 

함께 작업입니다

angular.element(window).on('resize', function(e){ 
    $scope.$broadcast('resize'); 
    }); 

DEMO APP