如何阻止离子框架上的无限滚动?

时间:2015-09-19 23:48:12

标签: angularjs ionic-framework ionic infinite-scroll

如何阻止离子框架上的无限滚动?

controller.js

memcpy()

模板name.html

    $scope.page=1;
    $scope.loadMore = function() {
    $http.get("http://localhost/getdata.php?page="+$scope.page).success(function(items) {
    $scope.posts = items;
    $scope.$broadcast('scroll.infiniteScrollComplete');
    $scope.page +=1;                                                                                
});
    };

0 个答案:

没有答案