https://htmx.org logo
I am using `hx-trigger="sse:eventName"` to trigger...
# htmx-general
p
I am using
hx-trigger="sse:eventName"
to trigger a get request when there is an
eventName
event coming over Server-Sent Events. I currently have this on each row
sse-connect="/row/<id>/progress-events"
. I. wonder if I could have a single
sse-connect
on the table and use the data of the event to filter. Something like
hx-trigger="sse:eventName[data=<id>]"
(where
<id>
would be the actual id).