summaryrefslogtreecommitdiffstatshomepage
path: root/www
diff options
context:
space:
mode:
authorSimon Hartley <170740+scrhartley@users.noreply.github.com>2025-04-20 09:49:26 +0100
committerGitHub <noreply@github.com>2025-04-20 10:49:26 +0200
commitbc7a6b8c5521e8f26c4a323ac709bb5d7aca55d1 (patch)
tree4aca81ae907ec45a409128fe967c0679d06987d3 /www
parente8f5990c1b67ab64b3a9e5d725a8d94e3f999e1e (diff)
downloadhtmx-bc7a6b8c5521e8f26c4a323ac709bb5d7aca55d1.tar.gz
htmx-bc7a6b8c5521e8f26c4a323ac709bb5d7aca55d1.zip
Documentation update for events (#3279)
Diffstat (limited to 'www')
-rw-r--r--www/content/events.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/content/events.md b/www/content/events.md
index fa0d26b5..aaa0e791 100644
--- a/www/content/events.md
+++ b/www/content/events.md
@@ -111,6 +111,7 @@ This event is triggered before an AJAX request is issued. If you call `preventD
* `detail.elt` - the element that dispatched the request
* `detail.xhr` - the `XMLHttpRequest`
* `detail.target` - the target of the request
+* `detail.boosted` - true if the request is via an element using boosting
* `detail.requestConfig` - the configuration of the AJAX request
### Event - `htmx:beforeSend` {#htmx:beforeSend}
@@ -137,6 +138,7 @@ See the documentation on [configuring swapping](@/docs.md#modifying_swapping_beh
* `detail.elt` - the target of the swap
* `detail.xhr` - the `XMLHttpRequest`
+* `detail.boosted` - true if the request is via an element using boosting
* `detail.requestConfig` - the configuration of the AJAX request
* `detail.requestConfig.elt` - the element that dispatched the request
* `detail.shouldSwap` - if the content will be swapped (defaults to `false` for non-200 response codes)
@@ -157,6 +159,7 @@ happen instead.
* `detail.elt` - the element that dispatched the request
* `detail.xhr` - the `XMLHttpRequest`
+* `detail.boosted` - true if the request is via an element using boosting
* `detail.requestConfig` - the configuration of the AJAX request
* `detail.shouldSwap` - if the content will be swapped (defaults to `false` for non-200 response codes)
* `detail.target` - the target of the swap