Answers for "call method on click routerlink"

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language