I have a component for a tabbed menu with a content pane below it, and it's used in this reusable component as follows:
<my-reusable-menu-component>
<ng-container menu-tabs>
<li>Some</li>
<li>Menu</li>
<li>Tabs</li>
</ng-container>
<ng-container page-content>
<some-detail-component #myComponent/>
</ng-container>
</my-reusable-menu-component>
Now, I want to be able to perform some template logic in the menu tabs container based on what the state of the page-content component is, like <li *ngIf="myComponent.something">Shown when something is true!</li>
I was wondering whether this is possible in Angular 2+, I have looked at Pass variable in Angular 2 template but it's not really the same case as my problem.