--- layout: default nav: attributes > ic-remove-after ---

## `ic-remove-after` - The Remove After Attribute

### Summary

The `ic-remove-after` attribute tells Intercooler to remove the element it is on after a given interval.

### Syntax

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.)

### Dependencies

`ic-remove-after` has no dependency implications.

### Example

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>

Click Me!