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