in Angular by
Q:
What does a router.navigate do?

▼ Show 1 Answer

0 votes
by

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

Angular JS
Learn More with Madanswer

Related questions

0 votes
0 votes
asked Feb 15, 2020 in Angular by matthenary
...