Q expandable Class
This tool implements expandable containers that work on most modern browsers, including ones on touchscreens.
Constructor
Q expandable
(
-
$options
Parameters:
-
$optionsArrayOptions for the tool
-
titleStringRequired. The title for the expandable.
-
contentStringThe content. Required unless you pass "items" instead.
-
[items]Array optionalAn array of strings to wrap in elements and render in the content
-
[class]String optionalIf you use "items", optionally specify the class of the container elements for each item
-
[title]Integer optionalA number, if any, to display when collapsed
-
[autoCollapseSiblings]Boolean optionalWhether, when expanding an expandable, its siblings should be automatically collapsed.
-