ngx-contextmenu
ngx-contextmenu copied to clipboard
How to add class to open parent menu, when submenu is open
When I go into submenu, parent menu doesn't have any calss to style them, like in system right click menu to keep logic path, for example: when I go into "Say hi! -> Edit" I want change background under "Say hi!" to show path for user.
https://stackblitz.com/edit/ngx-contextmenu-example-dz26wq
You’re right. It would be a nice feature to add an active-path class to an item that has an open sub menu.
I’d accept a PR for that feature. On Mar 4, 2019, 5:10 AM -0500, qubiack [email protected], wrote:
When I go into submenu, parent menu doesn't have any calss to style them, like in system right click menu to keep logic path, for example: when I go into "Say hi! -> Edit" I want change background under "Say hi!" to show path for user. https://stackblitz.com/edit/ngx-contextmenu-example-dz26wq — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.