From 9178b6014b42d0d0aeedcb0307d9a92b9da3538c Mon Sep 17 00:00:00 2001 From: nixa <4dmitr@gmail.com> Date: Mon, 22 Aug 2016 23:24:43 +0300 Subject: [PATCH] feat(menu): 'hidden' menu attribute to hide the link from the menu but keep other related features in place (page title, breadcrumbs). Fix #151 (cherry picked from commit a3b7fa1) --- docs/contents/articles/015-sidebar/index.md | 3 ++- .../components/baMenu/components/baMenuItem/baMenuItem.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/contents/articles/015-sidebar/index.md b/docs/contents/articles/015-sidebar/index.md index 789f878f..580b47bf 100644 --- a/docs/contents/articles/015-sidebar/index.md +++ b/docs/contents/articles/015-sidebar/index.md @@ -34,7 +34,8 @@ All menu items are located inside the `src/app/app.routes.ts` file. Each route i icon: 'ion-android-home', // menu icon selected: false, // selected or not expanded: false, // expanded or not (if item has children) - order: 0 // item order in the menu list + order: 0, // item order in the menu list, + hidden: true // hide menu item from a list but keep related features (breadcrums, page title) } } } diff --git a/src/app/theme/components/baMenu/components/baMenuItem/baMenuItem.html b/src/app/theme/components/baMenu/components/baMenuItem/baMenuItem.html index 7f009ab3..ad5ce118 100644 --- a/src/app/theme/components/baMenu/components/baMenuItem/baMenuItem.html +++ b/src/app/theme/components/baMenu/components/baMenuItem/baMenuItem.html @@ -1,4 +1,4 @@ -
  • +