swap

const val swap: String(source)

"hx-swap" controls how content will swap in (outerHTML, beforeend, afterend, …)

<div hx-get="/example" hx-swap="afterend">Get Some HTML & Append It</div>

htmx.org/attributes/hx-swap/

See also