You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will only render the template tag with the content within and data-binding placeholders emptied.
The dom-change event will actually fire and informs me that the attached() callback stuff of the dom-bind element actually have been run.
But stamping fails and moving the content outside the template never happens.
Tries with dom-template and manual stamp() also failed.
It actually needs to be in the local DOM:
Polymer.dom(appendTo.root).appendChild(t);
Is this a bug or by design?
Could not find any documentation on this.
The text was updated successfully, but these errors were encountered:
Thank you, and thanks for the workaround.
It would be semantically more accurate to append to the light DOM with consideration of the content.
Also, it's good if this process works the same way for native and custom elements.
Considering the following code:
Appending this to the light DOM won't work:
This will only render the template tag with the content within and data-binding placeholders emptied.
The
dom-change
event will actually fire and informs me that theattached()
callback stuff of thedom-bind
element actually have been run.But stamping fails and moving the content outside the template never happens.
Tries with
dom-template
and manualstamp()
also failed.It actually needs to be in the local DOM:
Is this a bug or by design?
Could not find any documentation on this.
The text was updated successfully, but these errors were encountered: