Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of example #1

Closed
asterd opened this issue Apr 18, 2016 · 4 comments
Closed

Lack of example #1

asterd opened this issue Apr 18, 2016 · 4 comments

Comments

@asterd
Copy link

asterd commented Apr 18, 2016

Hi! can you upload an example of this menu? Thank you!

@lgrkvst
Copy link
Owner

lgrkvst commented Apr 20, 2016

Sorry – coming right up...

@lgrkvst lgrkvst closed this as completed Apr 20, 2016
@lgrkvst
Copy link
Owner

lgrkvst commented Apr 20, 2016

Oops, closed by accident...

@lgrkvst lgrkvst reopened this Apr 20, 2016
@lgrkvst
Copy link
Owner

lgrkvst commented Apr 20, 2016

I uploaded a demo containing a simple example. The menu is shown on page load, but would ideally be invoked when right-clicked:

 g.selectAll("target")
                .on("contextmenu", function(node) {
                    menu = d3_sunburst_menu(build_tree(node), node, svg);
                });

@lgrkvst lgrkvst closed this as completed Apr 20, 2016
@asterd
Copy link
Author

asterd commented Apr 21, 2016

Thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants