Answers for "routerlink in angular a tag"

5

angular [routerlink]

content_copy
      
      <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" fragment="education">
  link to user component
</a>
Posted by: Guest on March-06-2020
1

routerlink example

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language