Merge pull request #272 from guettli/patch-2

Add note about data of hx-post
This commit is contained in:
1cg 2020-12-29 10:12:03 -07:00 committed by GitHub
commit 530bc1ee7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 0 deletions

View File

@ -25,3 +25,4 @@ This example will cause the `button` to issue a `DELETE` to `/account` and swap
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute
* You can control the data submitted with the request in various ways, documented here: [Parameters](/docs/#parameters)

View File

@ -23,3 +23,4 @@ This example will cause the `div` to issue a `GET` to `/example` and swap the re
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute
* You can control the data submitted with the request in various ways, documented here: [Parameters](/docs/#parameters)

View File

@ -25,3 +25,4 @@ This example will cause the `button` to issue a `PATCH` to `/account` and swap t
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute
* You can control the data submitted with the request in various ways, documented here: [Parameters](/docs/#parameters)

View File

@ -23,3 +23,4 @@ This example will cause the `button` to issue a `POST` to `/account/enable` and
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute
* You can control the data submitted with the request in various ways, documented here: [Parameters](/docs/#parameters)

View File

@ -25,3 +25,4 @@ This example will cause the `button` to issue a `PUT` to `/account` and swap the
* You can control the target of the swap using the [hx-target](/attributes/hx-target) attribute
* You can control the swap strategy by using the [hx-swap](/attributes/hx-swap) attribute
* You can control what event triggers the request with the [hx-trigger](/attributes/hx-trigger) attribute
* You can control the data submitted with the request in various ways, documented here: [Parameters](/docs/#parameters)