{toggle-cloak}
Plugin: Composition Plugin
Creates a button to toggle a cloaked section between being visible and hidden.
Description
This macro is usually used in coordination with a cloak macro.
| Requires that composition-setup is placed above it in the page. |
Usage
h1. {toggle-cloak:id=My Cloak} My Cloak
{cloak:id=My Cloak|visible=true}
My Cloak content.
{cloak}
Parameters
| Name | Required | Default | Description |
|---|---|---|---|
| id | | The unique ID of the cloaked section to toggle. May be '*' to be have an auto-id. | |
| exclusive | | false
| If 'true', other cloaked sections at the same level will be hidden when this one is shown. |
Discussions