htmxConfig

fun HEAD.htmxConfig(config: HtmxConfig, json: Json = Json)(source)

Adds the given config as a <meta> tag.

<meta name="htmx-config" content='{"defaultSwapStyle":"outerHTML"}'>

See Configuration Reference.