Skip to content

Commit

Permalink
fixed #5805 MenuItem#styleClass suppport for Steps
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Dec 31, 2018
1 parent 6dc44d6 commit 9710bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/steps/steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {RouterModule} from '@angular/router';
template: `
<div [ngClass]="{'ui-steps ui-widget ui-helper-clearfix':true,'ui-steps-readonly':readonly}" [ngStyle]="style" [class]="styleClass">
<ul role="tablist">
<li *ngFor="let item of model; let i = index" class="ui-steps-item" #menuitem
<li *ngFor="let item of model; let i = index" class="ui-steps-item" #menuitem [ngStyle]="item.style" [class]="item.styleClass"
[ngClass]="{'ui-state-highlight ui-steps-current':(i === activeIndex),
'ui-state-default':(i !== activeIndex),
'ui-state-complete':(i < activeIndex),
Expand Down

0 comments on commit 9710bb0

Please sign in to comment.