I'm sorry, my english not very well. I didn't express very well.
when I call my element <my-element> in my HTML page, is loaded all my model that I built with pure HTML elements such as <div>, <ul>, <li>, <a>, <p> and etc.
result:
<my-element>
<div>
<ul> <li> iteration here </ li> </ ul>
</div>
</my-element>
I had to use some Javascript / DOM properties in HTML elements. But only in the Google Chrome browser that was visible in Firefox it is not visible.
I'm using this way:
myFunction: function () {
. this.$.foo.textContent = 'New foo.';
}
Previously I was trying to access it this way:
myFunction: function () {
document.getElementById('foo').textContent = 'New foo.';
}
thanks for answer.