Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 439 Bytes

action_toggle.rst

File metadata and controls

12 lines (7 loc) · 439 Bytes
.. seealso:: actions :ref:`action-show`, :ref:`action-hide`, :ref:`action-fade_in`, :ref:`action-fade_out`, :ref:`action-slide_down`, :ref:`action-slide_up`, :ref:`action-slide_fade_in` and :ref:`action-slide_fade_out`.

Toggle the visibility of an element.

Example:

{% button action={toggle target="myid"} %}

Shows the element with id myid if it was hidden, otherwise hide it.