Answers for "how to get active route in angular 8"

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 "how to get active route in angular 8"

Browse Popular Code Answers by Language