Skip to content

Commit

Permalink
add mat-tab-label-active class to active nav tab labels
Browse files Browse the repository at this point in the history
  • Loading branch information
josephperrott committed Oct 3, 2017
1 parent ac70420 commit 1da0458
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/tabs/tab-nav-bar/tab-nav-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ export const _MatTabLinkMixinBase = mixinDisabled(MatTabLinkBase);
'class': 'mat-tab-link',
'[attr.aria-disabled]': 'disabled.toString()',
'[attr.tabindex]': 'tabIndex',
'[class.mat-tab-disabled]': 'disabled'
'[class.mat-tab-disabled]': 'disabled',
'[class.mat-tab-label-active]': 'active',
}
})
export class MatTabLink extends _MatTabLinkMixinBase implements OnDestroy, CanDisable {
Expand Down

0 comments on commit 1da0458

Please sign in to comment.