In Angular, how do you set the active route?

后端 未结 0 1380
温柔的废话
温柔的废话 2020-12-28 20:52

I wonder whether and how you can set the active route from the script and not just from the html template. To give an example:

@Component({
  template: `

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题