skip to Main Content

How to add the content `…<span class="sr-only">(current)</span></a>` into the HTML link when using Angular 2 **routerLink**? – Twitter bootstrap

Just wanting to know how include <span class="sr-only">(current)</span> on my clicked active link when using Angular 2 routerLink? Example: <ul class="nav nav-sidebar"> <li routerLinkActive="active"> <a routerLink="/dashboard">Dashboard <span class="sr-only">(current)</span></a> </li> <li> <a href="">Registers</a> </li> <li routerLinkActive="active"> <a routerLink="/organizations">Organizations</a> </li> </ul> Sources:…

VIEW QUESTION
Back To Top
Search