add_class¶
- Module: mod_wires
See also
actions remove_class and toggle_class.
Add a css class to an html element.
Example:
{% button action={add_class target="myid" class="newclass"} %}
Adds the CSS class “newclass” to the element with HTML id “myid”.