-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What if I want subItems of subItems and so on..?? #16
Comments
I'm afraid it won't be possible with the current implementation of the component. The entire logic of the component is based on only two levels of items/subitems, so a major refactor of the entire code would be needed in order to support more levels of items/subitems. I'll add support for multiple levels in the future but since it's a major change and requires a lot of time, I won't be able to do it in the short time, I'm very sorry :( I'll keep this issue open so we can add ideas/suggestions/comments here. |
I want 4 level side menu
I tried to push option as mention bellow but it is not working.
also played with side-menu-content.component.html but didn't get what to do,
Can you please guide where else I have to make changes.
Thank you for your great contribution.
this.options.push({ displayName: 'Nayan', subItems: [ { iconName: 'basket', displayName: 'Sub Option 1', subItems: [ { iconName: 'basket', displayName: 'Sub Option 1', component: 'HomePage' }, { iconName: 'bookmark', displayName: 'Sub Option 2', component: 'HomePage' } ] }, { iconName: 'bookmark', displayName: 'Sub Option 2', component: 'HomePage' } ] });
The text was updated successfully, but these errors were encountered: