⚡ Ajax
(HTMX-like behavior with data-ajax-* attributes)
The Ajax utility is a lightweight vanilla JS helper
that provides HTMX-like behavior using simple
data-ajax-* attributes.
It uses event delegation and works for dynamically added elements.
It supports GET and POST requests, target selection, partial swaps, fragment extraction and
hook events (before,
success,
error,
after).