mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-11-26 05:09:35 +01:00
Update README.md
This commit is contained in:
parent
1e5f9088ed
commit
d19ba7be1d
1 changed files with 13 additions and 13 deletions
26
README.md
26
README.md
|
@ -57,19 +57,19 @@ have a supported responder. A responder is a basic type that implements
|
||||||
`IntoResponseParts`, allowing you to simply and safely apply the HX-* headers to
|
`IntoResponseParts`, allowing you to simply and safely apply the HX-* headers to
|
||||||
any of your responses.
|
any of your responses.
|
||||||
|
|
||||||
| Header | Responder | Value |
|
| Header | Responder | Value |
|
||||||
|------------------|----------------|-------------------------------------|
|
|---------------------------|--------------------------------|------------------------------------------|
|
||||||
| `HX-Location` | `HxLocation` | `axum::http::Uri` |
|
| `HX-Location` | `HxLocation` | `axum::http::Uri` |
|
||||||
| `HX-Push-Url` | `HxPushUrl` | `axum::http::Uri` |
|
| `HX-Push-Url` | `HxPushUrl` | `axum::http::Uri` |
|
||||||
| `HX-Redirect` | `HxRedirect` | `axum::http::Uri` |
|
| `HX-Redirect` | `HxRedirect` | `axum::http::Uri` |
|
||||||
| `HX-Refresh` | `HxRefresh` | `bool` |
|
| `HX-Refresh` | `HxRefresh` | `bool` |
|
||||||
| `HX-Replace-Url` | `HxReplaceUrl` | `axum::http::Uri` |
|
| `HX-Replace-Url` | `HxReplaceUrl` | `axum::http::Uri` |
|
||||||
| `HX-Reswap` | `HxReswap` | `axum_htmx::responders::SwapOption` |
|
| `HX-Reswap` | `HxReswap` | `axum_htmx::responders::SwapOption` |
|
||||||
| `HX-Retarget` | `HxRetarget` | `String`` |
|
| `HX-Retarget` | `HxRetarget` | `String` |
|
||||||
| `HX-Reselect` | `HxReselect` | `String` |
|
| `HX-Reselect` | `HxReselect` | `String` |
|
||||||
| `HX-Trigger` | `HxResponseTrigger` | `String` or `axum_htmx::serde::HxEvent`*|
|
| `HX-Trigger` | `HxResponseTrigger` | `String` or `axum_htmx::serde::HxEvent`* |
|
||||||
| `HX-Trigger-After-Settle` | `HxResponseTriggerAfterSettle` | `String` or `axum_htmx::serde::HxEvent`*|
|
| `HX-Trigger-After-Settle` | `HxResponseTriggerAfterSettle` | `String` or `axum_htmx::serde::HxEvent`* |
|
||||||
| `HX-Trigger-After-Swap` | `HxResponseTriggerAfterSwap` | `String` or `axum_htmx::serde::HxEvent`*|
|
| `HX-Trigger-After-Swap` | `HxResponseTriggerAfterSwap` | `String` or `axum_htmx::serde::HxEvent`* |
|
||||||
|
|
||||||
_* requires the `serde` feature flag to be enabled._
|
_* requires the `serde` feature flag to be enabled._
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue