UNPKG

thalassa-aqueduct

Version:

Dynamic haproxy load balancer and configuration. Part of Thalassa

20 lines (19 loc) 736 B
<div ng-controller="AccordionDemoCtrl"> <label class="checkbox"> <input type="checkbox" ng-model="oneAtATime"> Open only one at a time </label> <accordion close-others="oneAtATime"> <accordion-group heading="Static Header"> This content is straight in the template. </accordion-group> <accordion-group heading="{{group.title}}" ng-repeat="group in groups"> {{group.content}} </accordion-group> <accordion-group heading="Dynamic Body Content"> <p>The body of the accordion group grows to fit the contents</p> <button class="btn btn-small" ng-click="addItem()">Add Item</button> <div ng-repeat="item in items">{{item}}</div> </accordion-group> </accordion> </div>