Answers for "routerLinkActive in dropdown main text"

0

routerLinkActive in dropdown main text

<ul class="nav nav-tabs">
  <li class="pull-right" [routerLinkActive]="['active']">
    <a class="dropdown-toggle" data-toggle="dropdown"> More <span class="caret"></span></a>
      <ul class="dropdown-menu">
        <li><a [routerLink]="['/profile/link1']">Link 1</a></li>
        <li><a [routerLink]="['/profile/link2']">Link 2</a></li>
      </ul>
  </li>
  <li class="pull-right" [routerLinkActive]="['active']"><a [routerLink]="['/profile/feature1']">Feature1</a></li>
  <li class="pull-right" [routerLinkActive]="['active']"><a [routerLink]="['/profile/feature2']">Feature2</a></li>
</ul>
Posted by: Guest on September-23-2020

Code answers related to "routerLinkActive in dropdown main text"

Browse Popular Code Answers by Language