Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.2 KB

File metadata and controls

41 lines (32 loc) · 1.2 KB

Accordion

An accordion groups collapsible cards together to a single unit in a way, that opening one card closes all others.

Note that cards inside an accordion are collapsible by default. You do not have to set that attribute.

See also:

Example usage

<bootstrap_accordion [..]>
  <bootstrap_card [..]>Content text for the first panel</bootstrap_card>
  <bootstrap_card [..]>Content text for the second panel</bootstrap_card>
  <bootstrap_card [..]>Content text for the third panel</bootstrap_card>
</bootstrap_accordion>

Allowed Attributes

The following attributes can be used inside the tag:

class
Adds this string to the class attribute of the component. If you want to add multiple classes, separate them by a space.
id
Sets the id of the component to this value. See to it, that it is unique.
style
Adds this string to the style attribute of the component. If you want to add multiple css styles, separate them by a semicolon.

Links