diff options
author | Sascha Woo <sascha.woo@gmail.com> | 2024-11-13 16:05:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-13 16:05:04 +0100 |
commit | df73ff2a7a47b1dd2b08661fd8bc4d7dd478f4dc (patch) | |
tree | befbc3ff7947cb25160ddbede6c06c286c790400 /www/content/attributes | |
parent | 79b6504d6304e946d1f34b5aeba3dd4ca8a40dad (diff) | |
download | htmx-df73ff2a7a47b1dd2b08661fd8bc4d7dd478f4dc.tar.gz htmx-df73ff2a7a47b1dd2b08661fd8bc4d7dd478f4dc.zip |
Add missing disableInheritance documentation (#3017)
Diffstat (limited to 'www/content/attributes')
-rw-r--r-- | www/content/attributes/hx-inherit.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/content/attributes/hx-inherit.md b/www/content/attributes/hx-inherit.md index f045794d..d8db6e36 100644 --- a/www/content/attributes/hx-inherit.md +++ b/www/content/attributes/hx-inherit.md @@ -7,7 +7,7 @@ The default behavior for htmx is to "inherit" many attributes automatically: tha that target. Some people do not like this feature and instead prefer to explicitly specify inheritance for attributes. To support this mode of development, htmx offers the `htmx.config.disableInheritance` setting, which can be set to -`false` to prevent inheritance from being the default behavior for any of the htmx attributes. +`true` to prevent inheritance from being the default behavior for any of the htmx attributes. The `hx-inherit` attribute allows you to control the inheritance of attributes manually. |