本文整理匯總了TypeScript中ionic-framework/ionic.NavController.push方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript NavController.push方法的具體用法?TypeScript NavController.push怎麽用?TypeScript NavController.push使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ionic-framework/ionic.NavController
的用法示例。
在下文中一共展示了NavController.push方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: onCreateAccount
onCreateAccount(value): void {
this.nav.push(CreateAccountPage, {});
}
示例2: openMainPage
openMainPage() {
this.nav.push(MainMenuContentPage);
}
示例3: itemTapped
itemTapped(event, item) {
this.nav.push(ItemDetailsPage, {
item: item
});
}
示例4: startWorkout
startWorkout() {
this.nav.push(WorkoutRunnerPage, {});
}
示例5: openLoginPage
openLoginPage() {
this.nav.push(LoginPage);
}
示例6:
this.pokemonService.getPokemonByUrl(evolution.resource_uri).then(response => {
this.nav.push(PokemonDetail, {
pokemon: response
});
});
示例7: goToMove
goToMove(move): void {
this.nav.push(MoveDetail, {
pokemon: this.pokemon,
move: move
});
}
示例8: itemTapped
public itemTapped(item) {
this.nav.push(WordpressItemPage, {
item: item
});
}
示例9: itemTapped
itemTapped(event, item) {
this.nav.push(ListPage, {
item: item
});
}
示例10: itemSelected
itemSelected(item: Task){
this._nav.push(TaskPage, {
task: item
})
}