0
我在我的项目中使用ngInfiniteScroll将大量数据加载到UI中。无限滚动方法不触发
这里是我的HTML,
<div infinite-scroll='nextPage()'>
<div ng-repeat="app in applications">{{app.name}}</div>
</div>
在我的控制器,
$scope.nextPage = function(){
console.log("nextPage");
$scope.page++;
.....
}
nextPage()
方法被调用一次。它在第一次后没有触发。
我在做什么错?
我已经做......即使在这个例子中'loadMore()'功能仅称为一次在我的项目中 – Venkat