I will explain which information i already found and which event i want to respond to.
This github issue asks about FFI and then forwards to
Here the working of EventSource if covered. But nothing specific about FFI is mentioned. The event in the example code is
onSomeEvent which i assume is a stand in for any of the events listed here
I however, would like to a “custom” event
I have access to the element in purescript through a
Ref so that substitutes the jQuery
Is the method in the gists (subscribing through purescript) still the way to go in this situation?
How can i create an event in purescript with a custom string
hide.bs.modal (or should i do this in JS, see previous question) ?
Thanks for help !