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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -