What are active router links?
RouterLinkActive is a directive that toggles css classes for active RouterLink bindings based on the current RouterState. i.e, the Router will add CSS classes when this link is active and and remove when the link is inactive. For example, you can add them to RouterLinks as below
<h1>Angular Router</h1><nav><a routerLink="/todosList" routerLinkActive="active">List of todos</a><a routerLink="/completed" routerLinkActive="active">Completed todos</a></nav><router-outlet></router-outlet>
March 11, 2022
286
Read more
What is Angular Framework?
November 04, 2022
AngularWhat is a Angular module?
November 03, 2022
AngularWhat are the steps to use animation module?
October 31, 2022
Angular