htmxr_is_htmx()renamed tohx_is_htmx()to follow thehx_prefix convention applied to all exported functions.hx_button()parameter order changed:idis now first and required (waslabel). Update calls likehx_button("Click me")tohx_button("my-btn", label = "Click me").hx_table()parameteridrenamed totbody_idto clarify that the id is applied to the<tbody>, not the<table>.
hx_trigger()— adds anHX-Triggerresponse header to a plumber2 response, causing htmx to fire a client-side event immediately after the response.hx_trigger_after_swap()— same, but fires after htmx swaps the new content into the DOM (HX-Trigger-After-Swap).hx_trigger_after_settle()— same, but fires after htmx settles (HX-Trigger-After-Settle).- The
eventargument accepts a character vector (multiple events) or a named list (events with JSON detail payloads), serialised without external dependencies.
- Fix invalid 'plumber2' URL in vignette (was pointing to a non-existent GitHub repository, now points to https://plumber2.posit.co/).
- Quote technical terms in
DESCRIPTIONto comply with CRAN spell check conventions. - Add
Depends: R (>= 4.1.0)for native pipe|>compatibility.
- Initial CRAN release.