htmx/test/attributes
Alexander Petros 5a5ebd7693
Add support for "naked" triggers and htmx:trigger event (#1327)
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.
2023-03-28 09:14:16 -06:00
..
2021-11-12 16:43:28 -07:00
2021-02-05 11:00:03 -07:00
2022-12-03 16:56:15 -06:00
2022-07-11 16:29:40 -06:00
2022-02-04 19:16:13 -07:00
2022-10-30 13:49:29 -06:00
2022-01-17 13:11:09 -07:00