4. collapser

collapser(key, value, ..., key, value)

Inserts a toggle button in generated content which can be used to collapse a collapsible block or table. See collapsible blocks and tables.

KeyValueDefaultDescription
collapsed-iconurl(), disc, circle, square, icon()icon(collapsed-right)Icon of the toggle button when the block or table is collapsed.
expanded-iconurl(), disc, circle, square, icon()icon(expanded-down)Icon of the toggle button when the block or table is expanded.
tool-tipStringNo default

Tool tip text of the toggle button.

A text starting with string "<html>" is understood to be styled using HTML (not XHTML). Example: "<html>Change the <br><b>linkend</b> <br>attribute".

Key, value, ..., key, value may also specify style parameters.

Examples:

collapser()

collapser(tool-tip, 
          "This is my tool tip!")

collapser(tool-tip, 
          "<html>This is<br><b>my</b>tool tip!")

collapser(collapsed-icon, icon(pop-right), 
          expanded-icon, icon(pop-down),
          color, navy)