Answers for "angular check if route is active"

0

angular check active route

<a [routerLink]="['/home']" routerLinkActive="is-active">Home</a>

<!-- More than one class: -->
<a [routerLink]="['/home']" [routerLinkActive]="['is-active']">Home</a>
Posted by: Guest on May-18-2021

Code answers related to "angular check if route is active"

Browse Popular Code Answers by Language