I once implemented this functionality in a small personal webapp, where the menu items will change based on the element you're clicking. I used some custom properties on the elements and based on that the menu items will dynamically load on right click.
It was fun to build, and the info about css positioning is straight to the point. Informative article
I once implemented this functionality in a small personal webapp, where the menu items will change based on the element you're clicking. I used some custom properties on the elements and based on that the menu items will dynamically load on right click.
It was fun to build, and the info about css positioning is straight to the point. Informative article
Yea this is a really cool small project to start with javascript, did you use react or just javascript
I used HTML custom elements while I was learning about them at that time along with vanilla js
That's great, I want to do this on react but would be really similar maybe on a full app I'll do it