Skip to content

Commit

Permalink
fix: Updated sample application tab example
Browse files Browse the repository at this point in the history
  • Loading branch information
rubyboy committed Apr 28, 2016
1 parent 19b0aff commit 0784ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TabsTest4 {}
<div class="row">
<div class="col s12">
<ul materialize="tabs" [materializeParams]="tabSelectionParams" class="tabs">
<li [class]="'tab col s3' + (tab.disabled?' disabled':'')" *ngFor="#tab of tabs">
<li class="tab col s3" [class.disabled]="tab.disabled" *ngFor="#tab of tabs">
<a [href]="'#'+tab.route" (click)="$event.preventDefault();routeTo(tab.route)">{{tab.name}}</a>
</li>
</ul>
Expand Down

0 comments on commit 0784ea1

Please sign in to comment.