Home »
Documentation »
Actions »
remove_class
Remove a class from an element.
Example:
{% button action={remove_class target="myid" class="newclass"} %}Removes the CSS class "newclass" from the element with HTML id "myid".
See also the actions add_class and toggle_class.
This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.