diff options
author | Sameer Dudeja <dsameer33@gmail.com> | 2024-06-20 22:49:10 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 11:19:10 -0600 |
commit | 6f83885de3e3881d262a6267fd55be69a18daa75 (patch) | |
tree | 3d5e321917803f6120d0bb34545e5a13abc99478 | |
parent | fa2dc6c02e96786d7daaae7c165daef229829250 (diff) | |
download | htmx-6f83885de3e3881d262a6267fd55be69a18daa75.tar.gz htmx-6f83885de3e3881d262a6267fd55be69a18daa75.zip |
Update in Documentation (#2655)
-rw-r--r-- | www/content/attributes/hx-get.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/content/attributes/hx-get.md b/www/content/attributes/hx-get.md index 3b345ea0..cd255526 100644 --- a/www/content/attributes/hx-get.md +++ b/www/content/attributes/hx-get.md @@ -21,3 +21,4 @@ This example will cause the `div` to issue a `GET` to `/example` and swap the re * You can control the swap strategy by using the [hx-swap](@/attributes/hx-swap.md) attribute * You can control what event triggers the request with the [hx-trigger](@/attributes/hx-trigger.md) attribute * You can control the data submitted with the request in various ways, documented here: [Parameters](@/docs.md#parameters) +* An empty `hx-get:""` will make a get request to the current url and will swap the current HTML page |