Answers for "import routerlink angular"

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

routerlink in angular

<li routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}">
    <a>Home</a>
</li>
Posted by: Guest on July-25-2021
1

routerlink example

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

Browse Popular Code Answers by Language