1
Ionic 프레임 워크를 사용하여 Android 앱을 개발 중입니다. 사용자가 페이지를 당길 때 <ion-refresher>
태그를 사용하여 내용을 동적으로로드했습니다. 그러나 그것은 효과가 없었습니다.이오니아 리프레셔가 제대로 작동하지 않음
$scope.doRefresh = function() {
$http.get('http://localhost/test/gksfapp_backend.php?action=an').then(function(msg){
//never executed.
$scope.items=msg.data;
})
.finally(function() {
// Stop the ion-refresher from spinning
$scope.$broadcast('scroll.refreshComplete');
});
가 어떻게이 일을 할 수 있습니다 :
<ion-refresher
pulling-text="Pull to refresh..."
on-refresh="doRefresh">
</ion-refresher>
내 컨트롤러 코드는 타격?
감사합니다. –