Hi, I have a list of custom elements in a web page that uses iron-signal to receive multiple broadcast messages. For example, there are two custom elements A and B. A subscribed to broadcast messages X and Y. B subscribed to broadcast messages X, Y and Z. I will show/hide element A based on some condition. Now I want to unsuscribe A from receiving messages X and Y when it is hidden and re-suscribe when it is active. I know that I can keep the state of the element A in a variable and stop processing the messages. But I don't want that. What do I want is a subscribe and unsubscribe feature using iron-signal. Is it possible?
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/a91dbea5-f4ed-4688-a637-f3c1c4e866e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
