Answers for "is route active angular"

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