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

fix selectChildren so that they can be removed with selection.remove() #279

Closed
wants to merge 1 commit into from

Conversation

likev
Copy link
Contributor

@likev likev commented Mar 12, 2021

The ParentNode property children is a read-only property that returns a live HTMLCollection which contains all of the child elements of the node upon which it was called. https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children

d3.select("svg").selectChildren().remove() will not success.

The ParentNode property `children` is a read-only property that returns a live HTMLCollection which contains all of the child elements of the node upon which it was called.
https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children

`d3.select("svg").selectChildren().remove()` will not success.
@likev likev closed this Mar 12, 2021
@likev
Copy link
Contributor Author

likev commented Mar 12, 2021

duplicated pull

@Fil
Copy link
Member

Fil commented Mar 12, 2021

for reference, duplicate of #276

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

Successfully merging this pull request may close these issues.

2 participants