toggle
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.
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.
Browser actions that templates attach to events with Zotonic's wiring system.