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