Nov 24, 2019 in Angular
Q: What does a router.navigate do?

1 Answer

0 votes
Nov 24, 2019

When we want to route to a component we use router.navigate.  Syntax: this.router.navigate([‘/component_name’]); 

Related questions

0 votes
0 votes
Feb 15, 2020 in Angular
0 votes
Feb 15, 2020 in Angular
...