HTMX -> htmx

This commit is contained in:
Daniel J. Summers 2022-01-07 16:02:01 -05:00
parent 86defea3c1
commit b5292bffc4
2 changed files with 3 additions and 3 deletions

View File

@ -39,10 +39,10 @@ type IHeaderDictionary with
/// Extensions for the request object
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
/// 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 () =
this.IsHtmx && (this.Headers.HxHistoryRestoreRequest |> Option.defaultValue false)

View File

@ -153,7 +153,7 @@ module HxVals =
let From = toJson
/// Attributes and flags for HTMX
/// Attributes and flags for htmx
[<AutoOpen>]
module HtmxAttrs =
/// Progressively enhances anchors and forms to use AJAX requests (use `_hxNoBoost` to set to false)