You need to do something like:

<div attribute?="{{ expression }}"></div>

That will add the attribute “attribute” to the dig iff the expression evaluates 
to something truthy.

Cheers,
Brian

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/3f810c7c-8cae-4172-a3b8-6c4bb5e046f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to