We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Element
destroy()
p2p-graph/index.js
Line 261 in 3334451
When calling destroy(), the Element where the graph is being applied is removed from the DOM. Since this element is not created and managed by p2p-graph but instead provided by us, it should be left untouched, as it's done at https://github.com/Novage/p2p-media-loader/blob/85adce9b0edbc00dfa073321d93a61590af3afc8/p2p-media-loader-demo/index.html#L1234-L1240
p2p-graph
The text was updated successfully, but these errors were encountered:
Don't remove Element from DOM when calling destroy()
37dec3c
Fix feross#26
Successfully merging a pull request may close this issue.
p2p-graph/index.js
Line 261 in 3334451
When calling
destroy()
, theElement
where the graph is being applied is removed from the DOM. Since this element is not created and managed byp2p-graph
but instead provided by us, it should be left untouched, as it's done at https://github.com/Novage/p2p-media-loader/blob/85adce9b0edbc00dfa073321d93a61590af3afc8/p2p-media-loader-demo/index.html#L1234-L1240The text was updated successfully, but these errors were encountered: