Calling a function when ng-repeat has finished

前端 未结 10 1670
面向向阳花
面向向阳花 2020-11-22 02:28

What I am trying to implement is basically a \"on ng repeat finished rendering\" handler. I am able to detect when it is done but I can\'t figure out how to trigger a functi

10条回答
  •  鱼传尺愫
    2020-11-22 03:15

    Please have a look at the fiddle, http://jsfiddle.net/yNXS2/. Since the directive you created didn't created a new scope i continued in the way.

    $scope.test = function(){... made that happen.

提交回复
热议问题