diff --git a/README.md b/README.md index 581e65f..a0d89ca 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ Some attributes have known values, such as `hx-trigger` and `hx-swap`; for these ] ``` +If you want to load htmx from unpkg, `Htmx.Script.minified` or `Htmx.Script.unminified` can be used to load the script in your HTML trees. + ## Feedback / Help The author hangs out in the #htmx-general channel of the [htmx Discord server](https://htmx.org/discord) and the #web channel of the [F# Software Foundation's Slack server](https://fsharp.org/guides/slack/). diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 50bdc1b..0fce98c 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,7 +2,7 @@ 1.6.1 - Add support for HX-Retarget header (added in htmx 1.6.1) + Initial production-ready release danieljsummers Bit Badger Solutions https://github.com/bit-badger/Giraffe.Htmx diff --git a/src/Htmx/README.md b/src/Htmx/README.md index f4cd169..78b5a2d 100644 --- a/src/Htmx/README.md +++ b/src/Htmx/README.md @@ -2,6 +2,8 @@ This package enables server-side support for [htmx](https://htmx.org) within [Giraffe](https://giraffe.wiki) and ASP.NET's `HttpContext`. +**htmx version: 1.6.1** + ### Setup 1. Install the package. diff --git a/src/ViewEngine.Htmx/README.md b/src/ViewEngine.Htmx/README.md index cf03eae..23918cd 100644 --- a/src/ViewEngine.Htmx/README.md +++ b/src/ViewEngine.Htmx/README.md @@ -2,6 +2,8 @@ This package enables [htmx](https://htmx.org) support within the [Giraffe](https://giraffe.wiki) view engine. +**htmx version: 1.6.1** + ### Setup 1. Install the package. @@ -25,6 +27,8 @@ Support modules include: - `HxTrigger` - `HxVals` +There are two `XmlNode`s that will load the htmx script from unpkg; `Htmx.Script.minified` loads the minified version, and `Htmx.Script.unminified` loads the unminified version (useful for debugging). + ### Learn htmx's attributes and these attribute functions map one-to-one. The lone exception is `_hxBoost`, which implies `true`; use `_hxNoBoost` to set it to `false`. The support modules contain named properties for known values (as illustrated with `HxTrigger.Load` above). A few of the modules are more than collections of names, though: