Skip to content

Commit

Permalink
fix(demo): fixed accordion demo
Browse files Browse the repository at this point in the history
fixes #399
  • Loading branch information
valorkin committed Jul 22, 2016
1 parent d3ab4fb commit bd4cc96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/components/accordion/accordion-demo.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p>
<button type="button" class="btn btn-primary btn-sm"
(click)="status.open = !status.open">Toggle last panel
(click)="group.isOpen = !group.isOpen">Toggle last panel
</button>
<button type="button" class="btn btn-primary btn-sm"
(click)="status.isFirstDisabled = ! status.isFirstDisabled">Enable / Disable first panel
Expand Down Expand Up @@ -28,7 +28,7 @@
<button type="button" class="btn btn-primary btn-sm" (click)="addItem()">Add Item</button>
<div *ngFor="let item of items">{{item}}</div>
</accordion-group>
<accordion-group let group [isOpen]="status.open">
<accordion-group #group [isOpen]="status.open">
<div accordion-heading>
I can have markup, too!
<i class="pull-right glyphicon"
Expand Down

0 comments on commit bd4cc96

Please sign in to comment.