本文整理汇总了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);
}