-
Notifications
You must be signed in to change notification settings - Fork 6
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
selection.node() always returns null #7
Comments
Hi, |
Ok, I can. But try to get a node |
I don't know D3 a lot, but it does not seem to be a proper way to use it. If you just want to get the body node, why not use scalajs-dom instead and invoke dom.document.body ? |
I don't want to get document body exactly. It was just an example of incorrect behavior. I am trying to tell you, that a method I have to use scaldget in my project, but I compared scaladget with an another D3 facade and that facade works fine. |
Using:
I want to obtain a DOM element as a result of D3 selection. For example,
but the result is always null. However, I'd like to get
HTMLBodyElement
for that example.The text was updated successfully, but these errors were encountered: