本文整理汇总了TypeScript中ionic-angular.NavController.present方法的典型用法代码示例。如果您正苦于以下问题:TypeScript NavController.present方法的具体用法?TypeScript NavController.present怎么用?TypeScript NavController.present使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ionic-angular.NavController
的用法示例。
在下文中一共展示了NavController.present方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: presentStatusModal
presentStatusModal() {
let statusModal = Modal.create(StatusModalPage, { player: this.player });
this.nav.present(statusModal);
}
示例2: addPaymentItem
addPaymentItem(event) {
this.navCtrl.present(Modal.create(PaymentItemFormPage, {
purchase: this.purchase,
people: this.people
}));
}
示例3: initLoadingAnimation
initLoadingAnimation() {
this.loading = Loading.create({
content: 'Loading agenda items...'
})
this.nav.present(this.loading)
}
示例4: showModal
showModal(){
console.log("test");
let modal = Modal.create(Details);
this.navContoller.present(modal);
}
示例5:
}, error => {
t.setMessage('No se pudo guardar los datos de contacto, intente nuevamente!');
this.nav.present(t);
});
示例6: openRegisterPage
//打开注册窗口
openRegisterPage(){
let modal = Modal.create(Register);
this.nav.present(modal)
}
示例7: showLoading
showLoading() {
this.loading = Loading.create({
content: 'Aguarde...'
});
this.nav.present(this.loading);
}
示例8:
ngz.run(() => {
let modal = Modal.create(DetailModal, {gallery: galleryMatch});
nav.present(modal);
})
示例9: showAboutModal
/*
* Shows the about modal
*/
showAboutModal() {
let modal = Modal.create(AboutModal);
this.nav.present(modal)
}
示例10: setTimeout
setTimeout(() => {
let modal = Modal.create(MyModal, { pokemon: poke });
this.nav.present(modal);
}, 500)