mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
On refresh opening
This commit is contained in:
3
js/ext/angular/src/directive/ionicContent.js
vendored
3
js/ext/angular/src/directive/ionicContent.js
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user