Help with Eventemitter - Angular

Asked

Viewed 45 times

0

I’m unable to broadcast one event to another, someone could help me ?

Basically what I’m trying to do is that when I save something in Component 1 it sends the event to Component 2 so that the information is dynamically updated on the screen.

I shared all the code on this link: https://pastebin.com/k8VhDfnx

If a representation of the structure of my app is relevant below.:

<div class="wrapper">
    <sge-header></sge-header>
    <sge-aside></sge-aside>

      <div class="col-md-10 col-md-offset-2 content-custom">
        <router-outlet></router-outlet> 
      </div>
      <sge-footer></sge-footer>
</div>

Grateful.

  • what is the problem with issuing?

  • It is not emitting...the method responsible for capturing the event within the area-list class is never executed

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.