Dashboard > Atlassian Plugins > ... > Macros > toggle-cloak
  Atlassian Plugins Log In | Sign Up   View a printable version of the current page.  
  toggle-cloak

Added by David Peterson , last edited by David Peterson on Jul 11, 2007  (view change)
Labels: 

{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

{macro:param=[options]}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.

See Also

Is there any capability to have one toggle-cloak trigger multiple cloaks?

When I tried this only the first cloak expands.

Thanks  

Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators