Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type HXLocation = Header "HX-Location" Text
- type HXPushURL = Header "HX-Push-Url" Text
- type HXRedirect = Header "HX-Redirect" Text
- type HXRefresh = Header "HX-Refresh" Bool
- type HXReplaceUrl = Header "HX-Replace-Url" Bool
- type HXReswap = Header "HX-Reswap" Swap
- type HXRetarget = Header "HX-Retarget" Text
- type HXReselect = Header "HX-Reselect" Text
- type HXTrigger = Header "HX-Trigger" Text
- type HXTriggerAfterSettle = Header "HX-Trigger-After-Settle" Text
- type HXTriggerAfterSwap = Header "HX-Trigger-After-Swap" Text
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 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 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 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