本文整理汇总了TypeScript中ionic-angular.ViewController.dismiss方法的典型用法代码示例。如果您正苦于以下问题:TypeScript ViewController.dismiss方法的具体用法?TypeScript ViewController.dismiss怎么用?TypeScript ViewController.dismiss使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ionic-angular.ViewController
的用法示例。
在下文中一共展示了ViewController.dismiss方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: cancel
cancel() {
this.viewCtrl.dismiss(undefined);
}
示例2: close
close(url: string) {
window.open(url);
this.viewCtrl.dismiss();
}
示例3: closeModal
public closeModal(){
this.viewCtrl.dismiss();
}
示例4: next
private next() {
this.viewCtrl.dismiss(true);
}
示例5: support
support() {
this.app.getRootNav().push(SupportPage);
this.viewCtrl.dismiss();
}
示例6: dismiss
dismiss() {
this.viewCtrl.dismiss();
}
示例7: closeModal
closeModal() {
this.viewCtrl.dismiss(0);
}
示例8: hideModal
hideModal(){
this.view.dismiss()
}
示例9: dismiss
dismiss(data) {
// using the injected ViewController this page
// can "dismiss" itself and pass back data
this.viewCtrl.dismiss(data);
}
示例10: close
close(action) {
this.viewCtrl.dismiss();
this.callback(action);
}