Skip to content

Commit

Permalink
chore(IgxExpansionPanel): Set default iconPosition to right. #307
Browse files Browse the repository at this point in the history
  • Loading branch information
IvayloG committed Aug 30, 2018
1 parent 04a78be commit 41c2d2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/expansion-panel/expansion-panel-sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class ExpansionPanelSampleComponent implements OnInit {
public score: number;
public data = [];
public winningPlayer;
public iconPosition = 'left';
public iconPosition = 'right';
private rounds = 5;
public get currentScore(): { 'Player 1': number,
'Player 2': number} {
Expand Down Expand Up @@ -100,6 +100,6 @@ export class ExpansionPanelSampleComponent implements OnInit {
}

toggleLeftRight() {
this.iconPosition = this.iconPosition === 'left' ? 'right' : 'left';
this.iconPosition = this.iconPosition === 'right' ? 'left' : 'right' ;
}
}

0 comments on commit 41c2d2c

Please sign in to comment.