patorjk
patorjk
You should be able to do this by not having an "action" on the item: https://github.com/patorjk/d3-context-menu/blob/master/js/d3-context-menu.js#L228 Outside of that, an additional option would be needed to prevent the menu from...
I think this sounds reasonable, though it would need to be the 3rd parameter since the index is passed as the second parameter. I would accept a PR for this.
Do you have an example? It seems to work for me. I did notice that the plunker on the main page uses an older version of the script, so I...
Yep, I see it now. It's strange, because if I click to the right or below the menu, it closes, but if I click above and to the left, it...
I'll check this out tonight. I think I'm going to remove bower support, as I haven't used bower in years. You should be able to install the previous version by...
Sorry for the delay, I thought I'd posted a comment. It is not currently possible to nest items, though I'd accept a pull request for such a feature.
This looks pretty good, I'll merge it in later today. Thanks!
I haven't tested it in touch devices, but it should work on them. Just attach the appearance of the menu to the event you want (see the examples). For example:...
Not at the moment, unfortunately.
I've been looking into this, though I'm not sure what's causing it. Installing the latest version works, though trying to get a version by its version number leads to an...