summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCliff L. Biffle <code@cliffle.com>2024-03-03 07:57:23 -0800
committerGitHub <noreply@github.com>2024-03-03 10:57:23 -0500
commitba2c30b648d64be50a127ca4767eae41a4bc266f (patch)
tree6f2957d9786a07d6c3277dc0da46e0e1cb10e550
parent79e40fe209793ca188632204002dd1828b8a2bc7 (diff)
downloadhtmx-ba2c30b648d64be50a127ca4767eae41a4bc266f.tar.gz
htmx-ba2c30b648d64be50a127ca4767eae41a4bc266f.zip
[DOC] clarify SSE hx-swap docs to note #784 (#2327)
Was pulling my hair out trying to get this working before I realized that it's a known issue.
-rw-r--r--www/content/extensions/server-sent-events.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/content/extensions/server-sent-events.md b/www/content/extensions/server-sent-events.md
index 55aa206d..7a17786a 100644
--- a/www/content/extensions/server-sent-events.md
+++ b/www/content/extensions/server-sent-events.md
@@ -12,7 +12,7 @@ Use the following attributes to configure how SSE connections behave:
* `sse-connect="<url>"` - The URL of the SSE server.
* `sse-swap="<message-name>"` - 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-swap` - You can control the swap strategy by using the [hx-swap](@/attributes/hx-swap.md) attribute, though note that modifiers like `scroll` are not supported.
* `hx-trigger="sse:<message-name>"` - SSE messages can also trigger HTTP callbacks using the [`hx-trigger`](@/attributes/hx-trigger.md) attribute.
## Install