Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 1.04 KB

readme.md

File metadata and controls

19 lines (13 loc) · 1.04 KB

The accordion directive builds on top of the collapse directive to provide a list of items, with collapsible bodies that are collapsed or expanded by clicking on the item's header.

We can control whether expanding an item will cause the other items to close, using the close-others attribute on accordion.

The body of each accordion group is transcluded in to the body of the collapsible element.

Accordion Settings

  • is-open (Defaults: false) : Whether accordion group is open or closed.
  • template-url (Defaults: template/accordion/accordion.html) : Add ability to override the template url used

Accordion Group Settings

  • panel-class (Defaults: panel-default) : Add ability to use Bootstrap's contextual panel classes (panel-primary, panel-success, panel-info, etc...) or your own. This must be a string.
  • template-url (Defaults: template/accordion/accordion-group.html) : Add ability to override the template url used. Note that this must be a string