pushUrl

const val pushUrl: String(source)

"hx-push-url" push a URL into the browser location bar to create history.

<div hx-get="/account" hx-push-url="true">
Go to My Account
</div>

htmx.org/attributes/hx-push-url/