ic-remove-after
- The Remove After AttributeThe ic-remove-after
attribute tells Intercooler to remove the element it is on after a given
interval.
The value of the attribute should a valid integer, followed by the string "s" (for seconds) or "ms" (for milliseconds). (e.g. ic-remove-after="1500ms" indicates that the element should be removed after 1500 milliseconds.)
ic-remove-after
has no dependency implications.
Here is a simple example of a span removal:
<a ic-post-to="/remove_after" ic-target="#flash-span">Click Me!</a> <span id="flash-span"></span>