本文整理汇总了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
})
}