I am still struggling to find a simple solution to render dynamic html.
This question has probably been asked million times but I can't find a
simple answer so far.
My current solution implies using querySelector and innerHtml but I can't
call it "simple".
So considering a template such as:
<template>
<template bind repeat="{{item in itemList}}">
{{item}}
</template>
</template>
And considering itemList as ["<div>A</div>", "<div>B</div>"] (value
initialized once ready)
What would be the best way to render the items?
I really wish Polymer would provide a triple brackets "{{{item}}}" to avoid
encoding the html.
Thanks,
Xavier
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/1d2301f3-46ce-4f01-a78b-3f6c314f5c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.