On Wednesday, August 20, 2014 12:11:10 PM UTC-7, Steve Orvell wrote:
>
> We'd suggest not using template for this type of conditional display. 
> Instead use css. Here's an example:
>
 
Yeah. This is a good call. Thanks for the extra bit of goodness with this 
suggestion and it's the right choice for this example.
 

> For completeness, it's possible to "kick" data to force a re-computation. 
> The need can come up when some part of an object graph changes that's not 
> observed. We're hoping to create a better api for this but here's an 
> example of how you can do it with current techniques:
>

The kick is interesting. It's certainly better than creating a clone each 
time. But no where near as good as the CSS example you gave. But consider 
me +1 on a better API.

Thanks for the input!
--
Adam
 

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/3f068949-2eb3-4955-9e58-fcb3ee5235aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to