本文整理汇总了TypeScript中ionic-angular.Refresher.complete方法的典型用法代码示例。如果您正苦于以下问题:TypeScript Refresher.complete方法的具体用法?TypeScript Refresher.complete怎么用?TypeScript Refresher.complete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ionic-angular.Refresher
的用法示例。
在下文中一共展示了Refresher.complete方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1:
this.getGroups(() => {
if(refresher) {
refresher.complete();
}
},true);
示例2: setTimeout
setTimeout(() => {
for (var i = 0; i < data.length; i++) {
items.unshift(data[i]);
}
refresher.complete();
}, 1000);
示例3:
this.schoolService.getMySchoolStudents().finally(() => {
refresher ? refresher.complete() : null;
}).subscribe(
示例4:
this.userService.getMyProfile().finally(() => {
refresher ? refresher.complete() : null;
this.ionicService.removeLoading();
}).subscribe(
示例5:
.catch(() => refresher.complete());
示例6:
this.appManager.getDesktopObjects(this.user).then((learningModules) => {
this.learningModules = learningModules;
refresher.complete();
}).catch((error) => {
示例7:
this.getSounds(() => {
if(refresher) {
refresher.complete();
}
},true);