Skip to content

Commit

Permalink
updated broken document link for out of band swaps (#76)
Browse files Browse the repository at this point in the history
* updated broken document link for out of band swaps

* updated link to hx-swap-oob attribute page

As  @Telroshan suggested, the link points to a more comprehensive guide
  • Loading branch information
git-ayas authored Aug 14, 2024
1 parent 84f5cb7 commit 3e34d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ WebSockets extension support two configuration options:
The example above establishes a WebSocket to the `/chatroom` end point. Content that is sent down from the websocket
will
be parsed as HTML and swapped in by the `id` property, using the same logic
as [Out of Band Swaps](https://htmx.org/reference/hx-swap-oob.md).
as [Out of Band Swaps](https://htmx.org/attributes/hx-swap-oob/).

As such, if you want to change the swapping method (e.g., append content at the end of an element or delegate swapping
to an extension),
Expand Down

0 comments on commit 3e34d87

Please sign in to comment.