ngx-contextmenu icon indicating copy to clipboard operation
ngx-contextmenu copied to clipboard

How to add class to open parent menu, when submenu is open

Open qubiack opened this issue 6 years ago • 1 comments

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

qubiack avatar Mar 04 '19 10:03 qubiack

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.

isaacplmann avatar Mar 04 '19 14:03 isaacplmann