How to associate a name with an exit router

I'm trying to do something like

<router-outlet name='chart.id'></router-outlet>

where chart.id is something like "id1, id2, id3", etc. I would like to create them at runtime because I don't know how many identifiers I will have.

I would like the end result to be like

<router-outlet name='id1'></router-outlet>
<router-outlet name='id2'></router-outlet>
<router-outlet name='id3'></router-outlet>

Thank!

+4
source share
1 answer

You cannot do it right now, but it is a requested function.

You can check it here.

+1
source

Source: https://habr.com/ru/post/1658510/


All Articles