HTMX -> htmx
This commit is contained in:
parent
86defea3c1
commit
b5292bffc4
|
@ -39,10 +39,10 @@ type IHeaderDictionary with
|
||||||
/// Extensions for the request object
|
/// Extensions for the request object
|
||||||
type HttpRequest with
|
type HttpRequest with
|
||||||
|
|
||||||
/// Whether this request was initiated from HTMX
|
/// Whether this request was initiated from htmx
|
||||||
member this.IsHtmx with get () = this.Headers.HxRequest |> Option.defaultValue false
|
member this.IsHtmx with get () = this.Headers.HxRequest |> Option.defaultValue false
|
||||||
|
|
||||||
/// Whether this request is an HTMX history-miss refresh request
|
/// Whether this request is an htmx history-miss refresh request
|
||||||
member this.IsHtmxRefresh with get () =
|
member this.IsHtmxRefresh with get () =
|
||||||
this.IsHtmx && (this.Headers.HxHistoryRestoreRequest |> Option.defaultValue false)
|
this.IsHtmx && (this.Headers.HxHistoryRestoreRequest |> Option.defaultValue false)
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@ module HxVals =
|
||||||
let From = toJson
|
let From = toJson
|
||||||
|
|
||||||
|
|
||||||
/// Attributes and flags for HTMX
|
/// Attributes and flags for htmx
|
||||||
[<AutoOpen>]
|
[<AutoOpen>]
|
||||||
module HtmxAttrs =
|
module HtmxAttrs =
|
||||||
/// Progressively enhances anchors and forms to use AJAX requests (use `_hxNoBoost` to set to false)
|
/// Progressively enhances anchors and forms to use AJAX requests (use `_hxNoBoost` to set to false)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user