Angular自定义指令监听页面渲染

需求:ng-repeat遍历完成后,执行函数 代码以下javascript js(自定义指令): // 自定义监听页面渲染指令 app.directive('repeatFinish',function () { return{ link:function (scope,element,attr) { // scope.index为当前遍历的位置
相关文章
相关标签/搜索