Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48977

Vue ionic-multilevel-sidebar

$
0
0

Hi Guys,

I am trying to implement a sidebar menu, with sub-levels. However, I found quite tricky to implement sub-menus with the following pattern:

1- When it clicks on Toogle, and select some higher level menu, it will collapse (showing all children) and keeps side bar open.
2- When it clicks on Sub-menu, it will change the route and close the side bar.

I bought @aaronksaunders udemy course using vuejs and sqlite. It shows a good examples how to create a side-bar menu that can accomplish number 2.

However I found very trick to combine pattern number 1 and number 2 using ionic and vue.

Here’s a example of pattern 1:

Vue does not allowed to reproduce this example using icon names, I had to use camelcase instead (does not work properly).

Do you guys could help me how to reproduce this example using import { xxx} from 'ionicons/icons'; ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>