Class: Collapsible
Sets up a DOM element to toggle open and closed when another DOM element is clicked (kind of like a single item Accordion).
Tutorial/Demo
Extends
Syntax
new Collapsible(clicker, section[, options]);
Arguments
- clicker - (mixed) A dom Element or the string id of a dom Element that, when clicked, will toggle the display of the section.
- section - (mixed) A dom Element or the string id of a dom Element that is displayed or hidden when the clicker is clicked.
- options - (object, optional) The options object described below:
Options
- All the options for Fx.Reveal.