Dynamically change components but have same url displayed on address bar

前端 未结 1 2026
悲&欢浪女
悲&欢浪女 2021-01-17 00:54

I have a router outlet that would toggle between various components like table, chart, list etc.

I have a requirement to not show url change on the address bar.

相关标签:
1条回答
  • 2021-01-17 01:27

    Use skipLocationChange as described here https://angular.io/api/router/NavigationExtras

    0 讨论(0)
提交回复
热议问题