sovanna / angular-material-sidenav

Simple component that reproduce the Angular Material Style SideNav Menu from their own website
http://sovanna.github.io/angular-material-sidenav/
109 stars 55 forks source link

Unable add 3rd or 4th level sub menu #43

Open mohanrajatveradis opened 7 years ago

mohanrajatveradis commented 7 years ago

I am trying to third level sub menu like, but this does not work

ssSideNavSectionsProvider.initWithSections([{ name: '', type: 'heading', children: [{ name: 'Toogle 1', type: 'toggle', pages: [{ name: 'item 1', state: 'common.toggle1.item1' }, { name: 'item 2', state: 'common.toggle1.item2' },{ name: 'item 3', type: 'toggle', pages: [{ name: 'item 1', state: 'common.toggle1.item1' }] }] }] }, { name: 'Simple link to Index state', state: 'common.index', type: 'link' }]);

Could you help me here.

mouryaamit commented 7 years ago

@mohanrajatveradis did you got any solution