Hi guys. I built a toast system with HTMX, using
https://htmx.org/headers/hx-trigger/ to trigger a client side event. It works as expected with HTMX.
However, what if I want to use this toast system for "normal" Django views that do not use HTMX at all? Is there a way to tell Django to fire an event if it finds an "HX-Trigger" header (or another) in the response, outside of htmx?
Thanks!