Hello,

I am building a simple app with two custom elements. Main page contains two 
buttons, clicking one will make that custom element visible and hide the 
other.

In the respective elements, I've set a property ''hide'. I'm binding this 
hide property to two divs that contains these two elements on main page. 
Thus, when a user clicks one button, that element's hide gets toggled, 
which in turn toggles hidden$ of the div.

As expected, since both divisions are bound to same hide property, they 
both hide and become visible at the same time. Which I don't want to happen.

Is it possible to bind to same property value but interact with it in 
different ways? I know I can just use javascript and hide divisions using 
their ids, but is there a solution within Polymer itself?

Thank you,
Udgam

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/be233571-3481-4ac8-a145-7ac06a072f0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to