mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Fixed #113 - scroll bouncing regardless of window size, fixes pull to refresh
This commit is contained in:
3
dist/js/ionic-angular.js
vendored
3
dist/js/ionic-angular.js
vendored
@ -641,6 +641,7 @@ angular.module('ionic.ui.list', ['ngAnimate'])
|
||||
isEditing: '=',
|
||||
deleteIcon: '@',
|
||||
reorderIcon: '@',
|
||||
hasPullToRefresh: '@',
|
||||
onRefresh: '&',
|
||||
onRefreshOpening: '&'
|
||||
},
|
||||
@ -663,7 +664,7 @@ angular.module('ionic.ui.list', ['ngAnimate'])
|
||||
var lv = new ionic.views.ListView({
|
||||
el: $element[0],
|
||||
listEl: $element[0].children[0],
|
||||
hasPullToRefresh: (typeof $scope.onRefresh !== 'undefined'),
|
||||
hasPullToRefresh: (typeof $scope.hasPullToRefresh !== 'false'),
|
||||
onRefresh: function() {
|
||||
$scope.onRefresh();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user