From 8d34851e2a0823f7fa2cfeea4b9da6829efb6c8f Mon Sep 17 00:00:00 2001 From: itamarhaber Date: Fri, 9 Feb 2024 02:27:37 +0200 Subject: [PATCH] Adds a reference to `hx-swap` Fixes #2197 --- www/content/extensions/server-sent-events.md | 1 + 1 file changed, 1 insertion(+) diff --git a/www/content/extensions/server-sent-events.md b/www/content/extensions/server-sent-events.md index 181d47fb1..55aa206df 100644 --- a/www/content/extensions/server-sent-events.md +++ b/www/content/extensions/server-sent-events.md @@ -12,6 +12,7 @@ Use the following attributes to configure how SSE connections behave: * `sse-connect=""` - The URL of the SSE server. * `sse-swap=""` - The name of the message to swap into the DOM. +* `hx-swap` - You can control the swap strategy by using the [hx-swap](@/attributes/hx-swap.md) attribute. * `hx-trigger="sse:"` - SSE messages can also trigger HTTP callbacks using the [`hx-trigger`](@/attributes/hx-trigger.md) attribute. ## Install