本文整理汇总了TypeScript中ionic-angular/index.NavController.push方法的典型用法代码示例。如果您正苦于以下问题:TypeScript NavController.push方法的具体用法?TypeScript NavController.push怎么用?TypeScript NavController.push使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ionic-angular/index.NavController
的用法示例。
在下文中一共展示了NavController.push方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: addLesson
addLesson() {
this.nav.push(LessonFormPage).then(() => {
// dismissing before the nav.push breaks the "back" button in the next view.
// https://github.com/driftyco/ionic/issues/6820
this.viewCtrl.dismiss();
});
}
示例2: openExamDetailPage
openExamDetailPage() {
this.nav.push(ExamDetailPage);
}
示例3: openProjectListPage
openProjectListPage() {
this.analytics.trackEvent("Discover Page", "project list");
this.nav.push(ProjectListPage);
}
示例4: openTodoListsPage
openTodoListsPage() {
this.analytics.trackEvent("Discover Page", "todo list");
this.nav.push(TodoListsPage);
}
示例5: openToolboxListPage
openToolboxListPage() {
this.analytics.trackEvent("Discover Page", "toolbox");
this.nav.push(ToolboxListPage);
}
示例6: openRecommendArticlePage
openRecommendArticlePage() {
this.analytics.trackEvent("Discover Page", "recommend article");
this.nav.push(RecommendArticles);
}
示例7: openSolutionPage
openSolutionPage() {
this.analytics.trackEvent("Discover Page", "solution");
this.nav.push(SolutionPage);
}
示例8: openRecommendBookPage
openRecommendBookPage() {
this.nav.push(RecommendBook);
}
示例9: showHang
showHang() {
this.nav.push(HangViewPage, {hang: this.hang});
}
示例10: openSurveyDetails
openSurveyDetails(survey: Survey) {
this.nav.push(SurveyDetailsPage, {survey: survey});
}