bigskysoftware / bigskysoftware/htmx-extensions

feature request: trigger an SSE start with the hx-trigger

Open
#27 8 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
284
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Hello,

I found in the documentation that it is possible to trigger http callbacks on a specific sse event.
But I do not find anything (and don't seem to be able to get it to work) about using the hx-trigger tag to start sse requests on a user event (like a click to start the server sent events).

forgive me if I missed something in the documentation, but it isn't clear to me why in all my tests, my sse event are just triggered out of the box on page load.

Thank a lot for your help all.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.