Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Sep 22, 2016
1 parent 46a1b80 commit e0ee4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/inputswitch/inputswitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const INPUTSWITCH_VALUE_ACCESSOR: any = {
selector: 'p-inputSwitch',
template: `
<div [ngClass]="{'ui-inputswitch ui-widget ui-widget-content ui-corner-all': true,
'ui-state-disabled': disabled}" (click)="toggle($event, in)"
'ui-state-disabled': disabled,'ui-inputswitch-checked':checked}" (click)="toggle($event, in)"
[ngStyle]="style" [class]="styleClass">
<div class="ui-inputswitch-off">
<span class="ui-inputswitch-offlabel">{{offLabel}}</span>
Expand Down

0 comments on commit e0ee4f8

Please sign in to comment.