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