Reputation: 6547
I can add listener to event from child element at parent level. But how do I make one child listen to the event of another ? Is that possible or should I use parent as a mediator ?
Upvotes: 0
Views: 128
Reputation: 6547
I wanted to loosely couple components. iron-signals
is the one I am after.
All possible ways of communication is detailed here. Though its documented under 0.5 still seems to hold good for 1.0.
Upvotes: 0
Reputation: 657318
You need to use parent as mediator. Event binding is only supported between child and parent.
Upvotes: 1