</> Build awesome HTMX + Go projects faster.
MIT License
RenderHTML
method to htmx.Response
to render template.HTML
values.MustWrite
MustRenderHTML
and MustRenderTempl
methods to htmx.Response
.
donseba/go-htmx
adding must
/just
helpers.Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.4.1...v0.5.0
Published by angelofallars 11 months ago
Response.LocationContext
should no longer always result in an error while writing a response. (Commit: 9703a2dca79529cb3615affe31ab66710ae28c87, PR: #5)Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.4.0...v0.4.1
Published by angelofallars 11 months ago
Thanks for the appreciation for my library. Your enthusiasm for HTMX is amazing!
SwapStrategy
values for HX-Reswap
can now have modifiers added to them in a type-safe way. (#1)
LocationContext
should now render SwapStrategy
values without errors.htmx-go
have been added.Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.3.0...v0.4.0
Published by angelofallars 11 months ago
Because having just one release in a day isn't enough. 😅
htmx.StatusStopPolling
is a constant with the value 286 that tells HTMX to stop polling for an element.Values
field in htmx.LocationContext
has been modified from []string
to map[string]string
.
dict[str, str]
, so here it should be the equivalent, map[string]string
.Published by angelofallars 11 months ago
TriggerObject
(formerly TriggerKeyValue
) can now accept any value. Be sure to only feed it JSON-serializable objects! Maybe use map[string]string
to be safe.TriggerValue
into TriggerDetail
TriggerKeyValue
into TriggerObject
Full Changelog: https://github.com/angelofallars/htmx-go/compare/v0.1.0...v0.2.0