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