From 05c88d80ed6c5f27da5b1901a6a6fb67e35212e7 Mon Sep 17 00:00:00 2001 From: Tapani Honkanen Date: Mon, 13 Jan 2025 10:31:54 +0200 Subject: [PATCH 1/3] Fix htmx:beforeHistorySave docs (#3123) --- www/content/events.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/www/content/events.md b/www/content/events.md index 39a054b61..fa0d26b55 100644 --- a/www/content/events.md +++ b/www/content/events.md @@ -305,10 +305,6 @@ This event is triggered before the content is saved in the history api. * `detail.path` - the path and query of the page being restored * `detail.historyElt` - the history element being restored into -##### Details - -* `detail.config` - the config that will be passed to the `EventSource` constructor - ### Event - `htmx:load` {#htmx:load} This event is triggered when a new node is loaded into the DOM by htmx. From 5fd60a5745c58a792bf93605fd84a9f4c73acd46 Mon Sep 17 00:00:00 2001 From: Kylie Smith Date: Mon, 13 Jan 2025 18:32:24 +1000 Subject: [PATCH 2/3] Fixed TwinSpark link in alternatives (#3124) Fixed TwinSpark link --- www/content/essays/alternatives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/essays/alternatives.md b/www/content/essays/alternatives.md index 101a4bcc3..ab9cae9af 100644 --- a/www/content/essays/alternatives.md +++ b/www/content/essays/alternatives.md @@ -74,7 +74,7 @@ Amazing! [TwinSpark](https://twinspark.js.org/) is a library created by [Alexander Solovyov](https://solovyov.net/) that is similar to htmx, and includes features such as [morphing](https://twinspark.js.org/api/ts-swap/#morph). -It is being [used in production](https://https://twinspark.js.org#who-is-using-this) on sites with 100k+ daily users. +It is being [used in production](https://twinspark.js.org#who-is-using-this) on sites with 100k+ daily users. ## jQuery From d890547012a9d11d081b66db4b9c694e77aec708 Mon Sep 17 00:00:00 2001 From: Zixian <109778851+zachczx@users.noreply.github.com> Date: Thu, 16 Jan 2025 15:27:51 +0800 Subject: [PATCH 3/3] Adding example to hx-ext documentation (#3109) * Update hx-ext.md * Update hx-ext.md * Update www/content/attributes/hx-ext.md Co-authored-by: Vincent * Update hx-ext.md --------- Co-authored-by: Vincent --- 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..86e031d95 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 comma-separated list of extensions to apply. 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 + + "preload" and "morph" extensions are used in this part of the tree... + +```