htmx-servant-0.1.0.0: Use htmx with servant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Htmx.Servant.Response

Description

Synopsis

Documentation

type HXLocation = Header "HX-Location" Text Source #

allows you to do a client-side redirect that does not do a full page reload

type HXPushURL = Header "HX-Push-Url" Text Source #

pushes a new url into the history stack

type HXRedirect = Header "HX-Redirect" Text Source #

can be used to do a client-side redirect to a new location

type HXRefresh = Header "HX-Refresh" Bool Source #

if set to “true” the client-side will do a full refresh of the page

type HXReplaceUrl = Header "HX-Replace-Url" Bool Source #

replaces the current URL in the location bar

type HXReswap = Header "HX-Reswap" Swap Source #

replaces the current URL in the location bar

type HXRetarget = Header "HX-Retarget" Text Source #

a CSS selector that updates the target of the content update to a different element on the page

type HXReselect = Header "HX-Reselect" Text Source #

a CSS selector that allows you to choose which part of the response is used to be swapped in. Overrides an existing hx-select on the triggering element

type HXTrigger = Header "HX-Trigger" Text Source #

allows you to trigger client-side events

type HXTriggerAfterSettle = Header "HX-Trigger-After-Settle" Text Source #

allows you to trigger client-side events after the settle step

type HXTriggerAfterSwap = Header "HX-Trigger-After-Swap" Text Source #

allows you to trigger client-side events after the swap stepallows you to trigger client-side events after the settle step