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