Go to page content

fade_out

Hide an element by animating the opacity.

Example:

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

Hides the element with id “myid” when the button is clicked.

See also the actions toggleshow, hide, fade_in, 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.