Update for htmx 1.7.0 (#4)
Fixes #3
This commit was merged in pull request #4.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user