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

Polymer.dom(...).removeChild(...) does not exist #72

Open
RLHawk1 opened this issue Dec 6, 2016 · 1 comment
Open

Polymer.dom(...).removeChild(...) does not exist #72

RLHawk1 opened this issue Dec 6, 2016 · 1 comment

Comments

@RLHawk1
Copy link

RLHawk1 commented Dec 6, 2016

I'm able to add elements using Polymer.dom(parentElement).appendChild(childElement), but I'm not able to remove them as Polymer.dom(parentElement).removeChild is not a valid function.

Am I missing something?

@attilapuskas
Copy link

We have the same issue that the removeChild has to be called via JSNI though it should be available on the Polymer.DomApi.
(It would be good if all method can be accessed via that mentioned JsType)

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