Working on custom refresher

This commit is contained in:
Max Lynch
2013-11-11 17:37:32 -06:00
parent 53862a434c
commit fa315677c6
5 changed files with 77 additions and 4 deletions

View File

@ -110,9 +110,11 @@ angular.module('ionic.ui.list', ['ngAnimate'])
hasPullToRefresh: ($scope.hasPullToRefresh !== 'false'),
onRefresh: function() {
$scope.onRefresh();
$scope.$broadcast('onRefresh');
},
onRefreshOpening: function(amt) {
$scope.onRefreshOpening({amount: amt});
$scope.$broadcast('onRefreshOpening', amt);
}
});