mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 13:01:03 +00:00

The `htmx:trigger` event is fired whenever an HTMX AJAX request would be. Now, `hx-trigger` can also be specified on an element without an AJAX request, which will simply fire the `htmx:trigger` event on the action specified by the attribute, and do nothing else. This pattern allows for specifying client-side actions that don't require a network request, while remaining within the HTMX control paradigm.