When Element created dynamically and appended to the dom:
var el = new PolymerSampleElement();
document.body.appendChild(el);
method attributeChanged called.
then you remove this element from the dom:
document.body.removeChild(el);
when you try to add, already created, element back to the dom method attributeChanged is not called.
When Element created dynamically and appended to the dom:
var el = new PolymerSampleElement();
document.body.appendChild(el);
method attributeChanged called.
then you remove this element from the dom:
document.body.removeChild(el);
when you try to add, already created, element back to the dom method attributeChanged is not called.