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 toggle button when the block or table is collapsed. |
expanded-icon | url(), disc, circle, square, icon() | icon(expanded-down) | Icon of the toggle button when the block or table is expanded. |
tool-tip | String | No default | Tool tip text of the toggle button. A text starting with string " |
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)