ng-material-multilevel-menu
ng-material-multilevel-menu copied to clipboard
Minimized view
Hi ShankyTiwari, I'm trying to integrate the menu into my project, which was straight forward according to the documentation. I'd like to go a step further regarding the usage. My project uses Angular Material and the menu is embedded in a drawer/sidebar.
I discovered a possible improvement in the library. It would be the 'minimise' feature. It would do the following:
- with the help of an animation the view of a menu item could be minimised to an icon view. The animation would hide the label and the expand icon( if applies)
- the 'minimise' could be triggered with an arrow icon (<- ->)
- The 'minimise' icon could be placed according to configuration (top, bottom)
This concept is similar like this: https://stackblitz.com/edit/angular-8zy3pi?file=src%2Fapp%2Fcomponents%2Fleft-menu%2Fleft-menu.component.ts
Kindly share your idea about this feature.
Regards, AlexIslander
Hi @alexIslander
It's a really nice feature to have. iI you are ready with the code, can you please create a new PR? Also, please work on the latest fork since I have added a lot of examples for the demo. It would be helpful in testing & especially working with custom templates feature.
Looking forward to the PR.
Thanks,
I will sen the PR, when i'm ready with the feature.
Yup, Works @alexIslander.
Yup, Works @alexIslander.
@ShankyTiwari I have PR, kindly have a look on it.
Hi @alexIslander Sure, I'll check in. Weekends. Thanks
@ShankyTiwari kindly check my PR to '155-merge' branch. Thx
Hi, what is the development status of this feature? Thank you
Hi, what is the development status of this feature? Thank you
Hi, waiting for review and merge: https://github.com/ShankyTiwari/ng-material-multilevel-menu/pull/171
@alexIslander thank you for your reply. If I wanted to try out your work and integrate into my project, wich is the procedure? (sorry for this newbie question..). I did checkout your branch... now I think I have to compile and produce a package?
Thank you
The ideal way is when the feature merged and released by the owner of the library @ShankyTiwari . In case it's not happening you can go down this way.