Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.12 KB

File metadata and controls

33 lines (26 loc) · 1.12 KB

Collapse

Collapses are useful when you want to hide and show large amount of content.

See also:

  • Accordions consist of multiple collapsible elements
  • A card can also be collapsible
  • Modals can also be used to hide and show content
  • Popovers have a more tooltip like design

Example usage

<bootstrap_collapse text="Collapse button text|[[File:TriggerImage.png|..]" [..]>Text inside the collapse</bootstrap_collapse>

Allowed Attributes

This uses all the allowed attributes of the button and they will be used in the same manner. Exceptions follow:

text
This is a mandatory field.

If you supply text, a button will be generated and used as the trigger for the collapse.

If you supply an image tag, it is stripped of any link tags and then be used as the trigger element. In this case, all but the attributes class, style, and id will be ignored.

Links