4. collapser
Prev | Chapter 5. Content objects | Next

## 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.

Key | Value | Default | Description
--- | --- | --- | ---
collapsed-icon | url(), disc, circle, square, icon() | icon(collapsed-right) | Icon of the button when block or table is collapsed.
expanded-icon | url(), disc, circle, square, icon() | icon(expanded-down) | Icon of the button when block or table is expanded.

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

Examples:

    collapser()

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

Prev | Up | Next
3. check-box | Home | 5. combo-box