In Polymer .5, it was pretty convenient to write:
<div hidden$="{{someSelector != 'foo'}}">
Is there a general way to do this in Polymer 1.0 other than include
something like:
<div hidden$="[[equals_(someSelector, 'foo']]">
equals_: function(a, b) { return a == b; }
in every Polymer element that needs this?
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/CADko7PFun%2BEoBpvNtDDPdyKdWfi5s210aOFqbgCci-qa_VnyVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.