Answers for "angular router active route"

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

Browse Popular Code Answers by Language