Awesome
Falco.Htmx
<!-- ## Key Features > TODO ## Design Goals > TODO ## Learn > TODO -->Getting Started
An experimental Falco integration with htmx JS package.
Falco.Htmx
adds new attribute - Hx
- that brings type-safe attributes of htmx
to the Falco world, for example:
let resetButton =
Elem.div [
Attr.id ("clicker");
Hx.target (CSS_Selector ("#click-section")); // new!
Hx.post (Uri "/reset"); // new!
Hx.trigger [Hx.Triggers.click (Hx.Triggers.Modifiers.once)] // new!
]
[ Text.raw ("Reset") ]
Curious?
Here are some examples you might find interesting:
Kudos
Big thanks and huuuge kudos to @pim_brouwers and to @angel_d_munoz for help, inspiration and collaboration 🚀
Find a bug?
There's an issue for that.
Developing and testing Github Actions locally:
- Install act
- Run in the main directory of the package:
act release -s NUGET_APIKEY=<<ANY_API_KEY>> --artifact-server-path /tmp/artifacts
where:
<<ANY_API_KEY>>
- put here anything asact
will run it locally and we don't want to publish anything to nuget
License
Built with ♥ by Damian Plaza & Pim Brouwers. Licensed under Apache License 2.0.