Hi there,
I guess you can pre-insert the template inside the DOM and use `if` to
control which one you want to use. For example, the concept code will look
like this:
<core-list data="{{ data }}">
<template>
<template if="{{ mode === 0 }}">
...
</template>
<template if="{{ mode === 1 }}">
...
</template>
<template if="{{ mode === 2 }}">
...
</template>
</template>
</core-list>
Just remember to change the `mode` variable in your component's script
accordingly. Thanks.
Best Regards,
Cayter
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/1d7651a5-1286-4e36-bf89-f945787ce4ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.