Yep. Be sure to hint the property type as an array/object.

See :
http://www.polymer-project.org/docs/start/usingelements.html#objectarray

and:
http://www.polymer-project.org/docs/polymer/polymer.html#binding-objects-and-arrays-to-attribute-values
.




On Thu, May 22, 2014 at 1:09 PM, <[email protected]> wrote:

> I would like to know if JSON can be passed as Custom Attributes and can be
> accessed in the Polymer Element data binding?
>
> 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/e18ab0cc-5910-4740-b721-f7d893974c94%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/e18ab0cc-5910-4740-b721-f7d893974c94%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/CACGqRCDMh9vGniS-exR%2BVZ%2BLai7WA3%3DBu%2BP%3DkGEqNhqNWwZyAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to