http://stackoverflow.com/q/31732751/4984267?sem=2 


I have an array buttonColors, which has set of colors in the hex format. 
Now I want to display set of paper-button each with the color present in 
the buttonColors Array. How to achieve it in polymer 1.0?

 <template is="dom-repeat" items="{{buttonColors}}">
      <paper-button style="background-color:{{item}}" >
                  <b>click me</b>
      </paper-button></template>


The above snippet does not seem to work. Kindly help.

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/8fdfa719-ff84-48d3-94cb-6470162c70f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to