diff --git a/src/Htmx/Htmx.fs b/src/Htmx/Htmx.fs index a892516..1880852 100644 --- a/src/Htmx/Htmx.fs +++ b/src/Htmx/Htmx.fs @@ -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) diff --git a/src/ViewEngine.Htmx/Htmx.fs b/src/ViewEngine.Htmx/Htmx.fs index 4f75941..945dd01 100644 --- a/src/ViewEngine.Htmx/Htmx.fs +++ b/src/ViewEngine.Htmx/Htmx.fs @@ -153,7 +153,7 @@ module HxVals = let From = toJson -/// Attributes and flags for HTMX +/// Attributes and flags for htmx [] module HtmxAttrs = /// Progressively enhances anchors and forms to use AJAX requests (use `_hxNoBoost` to set to false)