angular4 - Toggle an auxiliary router outlet in angular -
i want toggle auxiliary/named router outlet :
<a *ngif="asideshow$ | async link" [routerlink]="[{outlets:{aside: link}}]">toggle</a>
the link variable either null or string required named outlet display. problem if asideshow$ observable emits null value, element dissapear...
how can achieve without ngif ? want keep code reactive async pipe.
Comments
Post a Comment