本文整理汇总了TypeScript中ionic-angular.ViewController类的典型用法代码示例。如果您正苦于以下问题:TypeScript ViewController类的具体用法?TypeScript ViewController怎么用?TypeScript ViewController使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了ViewController类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: applyFilters
applyFilters() {
this.viewCtrl.dismiss();
}
示例2: close
close(): void {
this.view.dismiss();
}
示例3: dismiss
dismiss() {
this.viewCtrl.dismiss(this.selectOptions);
}
示例4: action
/**
* Do an action over the course.
* @param {string} action Action name to take.
*/
action(action: string): void {
this.viewCtrl.dismiss(action);
}
示例5: dismiss
dismiss() {
this.view.dismiss();
}
示例6: setTimeout
ping.subscribe(data => { this.view.dismiss();
}, err => { setTimeout(this.checkConnectionToServer(),2000); // TODO:
示例7: dismiss
dismiss() {
let data = { 'foo': 'bar' };
this.viewCtrl.dismiss(data);
}
示例8: closeHelp
/**
* Close help modal.
*/
closeHelp(): void {
this.viewCtrl.dismiss();
}
示例9: close
public close(): void {
this.viewCtrl.dismiss();
}
示例10:
ok() {
this.viewCtrl.dismiss(this.contacts[this.select]);
this.backService.touch();
}