title: How do I listen to a ContentChild event without hooking up via template?
body: <p>I need to listen for an event from an array of tab components. These tabs emit "onMinimized" however I would rather hook up to these events in one line of code than entering <code>(onMinimized)="hide"</code> for each tab component entry in the template. There is an array of ContentChildren that I have which I can loop through.</p>
  
  <p>I want to do something similar to has follows in the parent:</p>
  
  <pre><code>@ContentChildren(TabComponent) tabs: QueryList&lt;TabComponent&gt;;
  
  ...
  
  ngAfterContentInit() {
    this.tabs.map((t: TabComponent) =&gt; {
      t.addEventListener("onMinimized", this.hide);
    });
  }
  
  hide() {
    // hide tabs
  }
  </code></pre>
  
  <p>Thoughts? </p>