manolo / gwt-api-generator

Generator for creating GWT JSInterop clients from Polymer Web Components
Apache License 2.0
50 stars 24 forks source link

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

Open RLHawk1 opened 7 years ago

RLHawk1 commented 7 years ago

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 commented 7 years ago

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)