Accordion Component


hello, This is my first post and I find ionic intriguing and looking forward to use it in one of my projects.

While studying ionic, I couldn’t find an accordion component. Is it not really available yet or am I missing something ?
What I wanted to do is to create a List containing Sub lists, But as I couldn’t find a way to do that, I looked for accordion.

Example list and details page

You can easily create this your self using css and ng-click until ionic makes their own implementation. What I did is set the max-height:0px then on click I call a function in the controller that sets max-height: none if I remember correctly.


@kettlepopper, It Is really a good idea.I will give it a try. Thank You !


Well, you’ve asked this a lot of time ago, wonder if interested: i’ve wrote this directive: