On refresh opening

This commit is contained in:
Max Lynch
2013-11-08 15:44:22 -06:00
parent 8a7db90aaf
commit 7c4a37e56a
6 changed files with 84 additions and 71 deletions

View File

@ -49,6 +49,9 @@ angular.module('ionic.ui.content', [])
el: $element[0].firstElementChild,
onRefresh: function() {
$scope.onRefresh && $scope.onRefresh();
},
onRefreshOpening: function(amt) {
$scope.onRefreshOpening && $scope.onRefreshOpening({amount: amt});
}
});
// Let child scopes access this