At the request of a few I’ve added the ability to close the SuperAccordian.
To be able to close the SuperAccordian you must set it’s ‘closable’ property to true. This is ‘false’ by default.
When closed you have a couple of styles…
1. verticalAlign:String – “top”, “middle”, “bottom”. default is “top”.
This defines the position of the headers when closed.
2. verticalAlignOffset:Number – default is 0.
This number of pixels to offset the headers from their verticalAlign position.
Note: Closing the SuperAccordian doesn’t change its height, it only changes the height and position of the children/headers inside it.
Again, any bugs, probs give me a shout in the comments.
Updated SuperAccordianExample
The updated source for the component is in our Google Code Library.