0 votes
in Angular by
What does a router.navigate do?

1 Answer

0 votes
by

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

Related questions

0 votes
asked Feb 15, 2020 in Angular by matthenary
0 votes
0 votes
asked Dec 10, 2023 in Angular by DavidAnderson
...