-3

I'm trying to create a method/function inside my polymer element that allows me to change a property to all instances except the one clicked/tapped.

Being more specific, when I click on an instance of the element, I want to change a CSS property of every other instances of it.

Image exemple

Thanks!

iroyo
  • 723
  • 7
  • 23
  • 1
    We can't help you unless you provide us with your code. – Bucket May 12 '14 at 16:25
  • Ok... I'll post it if it's necessary but I was looking for a general solution. I just wanted to know if there's a possibility to target changes to every instance of an element except on clicked. – iroyo May 12 '14 at 16:40

1 Answers1

1

You could do this with polymer-signals. Just have each window listen for a signal event and update itself accordingly.

robdodson
  • 6,616
  • 5
  • 28
  • 35