Skip to content

Commit

Permalink
Merge pull request #100 from ramandv/master
Browse files Browse the repository at this point in the history
feat(accordion): adding classes to accordion header on open and closed s...
  • Loading branch information
jbrowning committed Oct 15, 2014
2 parents c359d0b + 27e787f commit fb77e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/accordion/accordion-group.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<dd>
<a ng-click="isOpen = !isOpen" accordion-transclude="heading">{{heading}}</a>
<a ng-click="isOpen = !isOpen" ng-class="{ active: isOpen }" accordion-transclude="heading">{{heading}}</a>
<div class="content" ng-style="isOpen ? {display: 'block'} : {}" ng-transclude></div>
</dd>

0 comments on commit fb77e1a

Please sign in to comment.