Answers for "angular set text true based on router"

3

call a function whenever routerlink is clicke angular

<a class="nav-link" [routerLink]="['/home']" (click)="doSomeLogic()">Home</a>
Posted by: Guest on July-09-2020
0

this.router.navigate

<a [routerLink]="['/', 'red-pill', {x: 'white-rabbit'}, 'neo']">
  Param!
</a>
Posted by: Guest on November-02-2020

Code answers related to "angular set text true based on router"

Code answers related to "Javascript"

Browse Popular Code Answers by Language