in Angular by
Q:
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’]); 

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

0 votes
0 votes
asked Feb 15, 2020 in Angular by matthenary
0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
0 votes
asked Feb 15, 2020 in Angular by matthenary
...