d3-context-menu icon indicating copy to clipboard operation
d3-context-menu copied to clipboard

Dynamic menu for each Item callback based

Open cat0rgi0 opened this issue 6 years ago • 0 comments

I'm looking for a way to populate a dynamic context menu in a callback ajax call. I mean i found a method to create dynamic numbers of row(li) but it works on modyfing directly the DOM element and i don't think is a good practice especially because i have to add an hanlder function click for every element of menu. So i don't understand reading all requests and issues if the object menu in .on('contextmenu',d3.contextMenu(menu,...must only be instantiated before contextMenu function called.

cat0rgi0 avatar Oct 26 '18 23:10 cat0rgi0