The remove-me Extension

The remove-me extension allows you to remove an element after a specified interval.

🔗Install

<script src="https://unpkg.com/htmx.org/dist/ext/remove-me.js"></script>

🔗Usage

<div hx-ext="remove-me">
    <!-- Removes this div after 1 second -->
    <div remove-me="1s">To Be Removed...</div>
</div>