Open FergoTheGreat opened 5 years ago
Please share the text of the code along with screenshots
return html`
<style>
:host {
display: block;
}
</style>
<ul>${array.map((item, i) => html`<li style="color: ${colors[i%3]}">${item}</li>`)}</ul>
`
It seems that including an expression within a style attribute does not work if you have multiple nested templates.