本文整理匯總了TypeScript中ionic-angular/index.ViewController類的典型用法代碼示例。如果您正苦於以下問題:TypeScript ViewController類的具體用法?TypeScript ViewController怎麽用?TypeScript ViewController使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了ViewController類的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: constructor
constructor(private viewController:ViewController) {
this.video_url = this.viewController.getNavParams().data.video_url;
}
示例2: constructor
constructor(private viewController:ViewController) {
this.images = this.viewController.getNavParams().data.images;
}
示例3: close
close(){
this.viewController.dismiss();
}
示例4:
posts.push(this.newPost).then(res=>{
loading.destroy();
this.viewCtrl.dismiss();
});
示例5: cancel
cancel() {
this.viewCtrl.dismiss();
}
示例6:
resendVerificationEmail() {
// TODO
console.log("TODO: Must re-send verification email");
this.viewCtrl.dismiss();
}
示例7:
this.nav.push(PayFormPage).then(() => {
this.viewCtrl.dismiss();
});