mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Pull to refresh work for scroll #56
This commit is contained in:
12
js/ext/angular/src/directive/ionicContent.js
vendored
12
js/ext/angular/src/directive/ionicContent.js
vendored
@ -56,5 +56,15 @@ angular.module('ionic.ui.content', [])
|
||||
};
|
||||
}
|
||||
};
|
||||
});
|
||||
})
|
||||
|
||||
.directive('refresher', function() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
replace: true,
|
||||
transclude: true,
|
||||
template: '<div class="scroll-refresher" ng-transclude></div>'
|
||||
}
|
||||
})
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user