Update for htmx 1.7.0 (#4)

Fixes #3
This commit was merged in pull request #4.
This commit is contained in:
danieljsummers authored and GitHub committed 2022-02-23 21:54:51 -05:00
1 parent b5292bffc4
commit c587a28770
7 files changed
+51 -9

No files matched your search

+4
View File
@@ -66,6 +66,10 @@ module Handlers =
let withHxPush : string -> HttpHandler =
setHttpHeader "HX-Push"
// Explicitly do not push a new URL into the history stack
let withHxNoPush : HttpHandler =
toLowerBool false |> withHxPush
/// Can be used to do a client-side redirect to a new location
let withHxRedirect : string -> HttpHandler =
setHttpHeader "HX-Redirect"
+1 -1
View File
@@ -2,7 +2,7 @@
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**
**htmx version: 1.7.0**
### Setup