Settling Test

Legacy Style New Style

Description

This page connects to a single different Server Sent Event (SSE) stream. Multiple containers all listen for the same default "message" event name, but using different values for hx-swap.

Example HTML

<div hx-sse="connect:http://localhost/comments.html">
	<div hx-sse="swap:message" hx-swap="settle:100ms">Waiting for Comments...</div>
</div>

Test Cases

Waiting for Comments...
Waiting for Comments...
Waiting for Comments...
Waiting for Comments...
Waiting for Comments...