htmx/test/realtime/static/sse-target.html
Ben Pate 546e346e98
Restore hx-ws and hx-sse tags (#811)
absolute 👑 

* Restore WS and SSE code

First pass at restoring removed ws and sse code.  More to come.

* More progress on WS and SSE restore

* Update htmx.js

crucial whitespace

* Update documentation

* Combine SSE and WS servers into single "realtime" demo

* Realtime Test Server Updates

- separated tests for old- and new- style calling
- updated intro content and stylesheet
- removed extensions from manual test suite

* Remove SSE/WS from manual tests
2022-02-12 11:11:30 -07:00

12 lines
409 B
HTML

<h1>Event Target Test</h1>
<div role="tablist" hx-target="#page" hx-push-url="false">
<a role="tab" hx-get="/sse-target.html" aria-selected="true">Legacy Style</a>
<a role="tab" hx-get="/sse-target-ext.html">New Style</a>
</div>
<h3>Description</h3>
<p>
The original implementation of <b>hx-sse</b> does not use for <b>hx-target</b> attributes.
Therefore, this test is not implemented on this page.
</p>