Accordion module for AngularJS

Added by: Sam Deering





Stars: 1

Watchers: 1

Forks: 0

Module Description

Angular accordion

Light and simply UI accordion module for Angular


  • IE Browsers: IE8+, Others
  • Angular: 1.2.28+


  • place it into scripts directory of your application
  • in accordion directives set parameter "templateUrl" relative to module path


  • id (required): Set id of accordion element. It is required parameter to recognise accordion in his model.
<accordion id="1">
  • one-open (default: true): Open more then one collapsible element at a time.
<accordion one-open="false">
  • open-class (default: open): CSS classes added to opened collapsible elements.
<accordion open-class="accordion-open-class">
  • close-class (default: close): CSS classes added to closed collapsible elements.
<accordion close-class="accordion-closed-class">
  • init-open (default: false): Open collapsible element after initially rendering on page.
    <accordion-item init-open="true">...</accordion-item>
  • header: Header of collapsible element.
    <accordion-item header="Element 1" init-open="true">...</accordion-item>
    <accordion-item header="Element 2">...</accordion-item>


<accordion open-class="accordion-item-open" close-class="accordion-item-close" one-open="true">
  <accordion-item header="Header 1" init-open="true">...</accordion-item>
  <accordion-item header="Header 2">...</accordion-item>
  <accordion-item header="Header 3">...</accordion-item>

Release notes

  • 0.2.0 Added possibility of initialization more than one accordion
  • 0.1.0 Accordion first acting version
Licence MIT
Author: Tomasz Czechowski
  • Twitter:

Module stats last updated: 2015-04-19 15:03:07

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!