Here's Mr. Polymer
Polymer({
is: 'mr-polymer',
properties: {
headline: {
type: String,
value: 'keep <span class="highlight">stronger</span>'
}
}
}
Mr. Polymer has a headline containing html tags.
Then Mr. Polymer is going to talk the headline in his template :
<template>
<p id="talk">[[headline]]</p>
</template>
"oh no ! Mr. Polymer.. what are you saying ?"
it doesn't process the html tags..
Is there a way to bind html data ?