Hi, If a Polymer element hints that the type of a property is an array or an object, you can use JSON strings in the attribute value. Example here: http://jsbin.com/noxof/1/edit
On Wed, Jul 23, 2014 at 7:58 AM, Filipe Araujo < [email protected]> wrote: > I was looking at core-selector and it allows for ".selected = ['x','x'], > however setting the attribute to a string of that value does not function > the same way.Is that accidental, or is this an intended restriction? If > accidental, is there a convention for attributes with array / object > values? > > 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/0c9e0a1a-2f2b-454e-af93-166ce43b06fc%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/0c9e0a1a-2f2b-454e-af93-166ce43b06fc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > 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/CAHk1xZJF0sUXjPWtxv28TKxZq-ZYgoHTAqGa9xzuEuq8daDo%3DA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
