Within the ready() method of a custom polymer element, I am creating a new element and dynamically inserting it. Even though it is seen to be part of the Shadow DOM, it is not visible on the page.
What could be the explanation and how to solve this?
DivElement de = new DivElement();
de.text = 'new div';
de.setAttribute('id' ,'myholder');
append(de);