Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 425 Bytes

action_remove.rst

File metadata and controls

15 lines (9 loc) · 425 Bytes

django

Remove an element from the page.

For example, the following removes the foo div from the page:

<div id="foo">I am the foo div</div>
{% button text="Remove foo" action={remove target="foo"} %}

Without target, the action removes its triggering element:

{% button text="Click me to remove me" action={remove} %}

actions, scomp-button