mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-26 20:40:41 +00:00
534 B
534 B
+++ title = "hx-disable" description = "The hx-disable attribute in htmx will disable htmx processing for a given element and all its children." +++
The hx-disable
attribute will disable htmx processing for a given element and all its children. This can be
useful as a backup for HTML escaping, when you include user generated content in your site, and you want to
prevent malicious scripting attacks.
The value of the tag is ignored, and it cannot be reversed by any content beneath it.
Notes
hx-disable
is inherited