swap
You can modify the amount of time that htmx will wait after receiving a response to Hx.swap the content by including a swap modifier:
<!-- this will wait 1s before doing the swap after it is received -->
<div hx-get="/example" hx-swap="innerHTML swap:1s">Get Some HTML & Append It</div>Content copied to clipboard