Closed zoechi closed 8 years ago
I think that this is working as intended. PolymerDom does not automatically wrap the return values of its methods in other PolymerDom objects, so modifying .children
directly doesn't work. See https://www.polymer-project.org/1.0/docs/devguide/local-dom.html#work-with-local-dom for an example of how to insert children.
I guess I got it. Thanks for the hint.
The style element (same with a
DivElement
) isn't inserted.new PolymerDom(root).append(
works though.