0

I'm trying to communicate between B3 and A2, is there any option without sending an event through all parents (B3 -> B1 -> main-app -> A1 -> A2 ) ?

enter image description here

Thanks.

DanDuh
  • 500
  • 1
  • 5
  • 17
  • 3
    https://angular.io/docs/ts/latest/cookbook/component-communication.html – Günter Zöchbauer Jul 26 '16 at 07:08
  • Do I get it right, for my case i need to use service? Thanks. – DanDuh Jul 26 '16 at 07:22
  • Please broadcast your event. Broadcasting is for passing events from on end of a tree to another, if the cost of travelling, with input/output becomes too much to bear. Example http://stackoverflow.com/questions/33338276/angular-2-event-broadcast – Karl Johan Vallner Oct 30 '16 at 18:51

0 Answers0