toggle
Toggle the visibility of an element.
Example:
{% button action={toggle target="myid"} %}Shows the element with id “myid” when it was hidden, otherwise hide it..
See also the actions show, hide, fade_in, fade_out, slide_down, slide_up, slide_fade_in and slide_fade_out.
This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.