From 0bc00992ef4e95c5083d5a2dd65bb4b12404914d Mon Sep 17 00:00:00 2001 From: Zixian <109778851+zachczx@users.noreply.github.com> Date: Sat, 28 Dec 2024 02:40:27 +0800 Subject: [PATCH 1/2] Update hx-ext.md --- www/content/attributes/hx-ext.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/content/attributes/hx-ext.md b/www/content/attributes/hx-ext.md index 65dcbb6b7..811efb79c 100644 --- a/www/content/attributes/hx-ext.md +++ b/www/content/attributes/hx-ext.md @@ -4,7 +4,7 @@ title = "hx-ext" The `hx-ext` attribute enables an htmx [extension](https://htmx.org/extensions) for an element and all its children. -The value can be a single extension name or a comma separated list of extensions to apply. +The value can be a single extension name or a list of extensions (separated by commas). The `hx-ext` tag may be placed on parent elements if you want a plugin to apply to an entire swath of the DOM, and on the `body` tag for it to apply to all htmx requests. @@ -25,4 +25,8 @@ hierarchy and it will apply to all child elements. ``` - +```html + +... + +``` From 9046ca002e8e3371af2b1f263756d312b905cfd2 Mon Sep 17 00:00:00 2001 From: Zixian <109778851+zachczx@users.noreply.github.com> Date: Sat, 28 Dec 2024 09:57:31 +0800 Subject: [PATCH 2/2] Update hx-ext.md --- www/content/attributes/hx-ext.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/attributes/hx-ext.md b/www/content/attributes/hx-ext.md index 811efb79c..a86f4000d 100644 --- a/www/content/attributes/hx-ext.md +++ b/www/content/attributes/hx-ext.md @@ -4,7 +4,7 @@ title = "hx-ext" The `hx-ext` attribute enables an htmx [extension](https://htmx.org/extensions) for an element and all its children. -The value can be a single extension name or a list of extensions (separated by commas). +The value can be a single extension name or a list of extension names (separated by commas). The `hx-ext` tag may be placed on parent elements if you want a plugin to apply to an entire swath of the DOM, and on the `body` tag for it to apply to all htmx requests.