Skip to content

Commit bc7a6b8

Browse files
authored
Documentation update for events (#3279)
1 parent e8f5990 commit bc7a6b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

www/content/events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ This event is triggered before an AJAX request is issued. If you call `preventD
111111
* `detail.elt` - the element that dispatched the request
112112
* `detail.xhr` - the `XMLHttpRequest`
113113
* `detail.target` - the target of the request
114+
* `detail.boosted` - true if the request is via an element using boosting
114115
* `detail.requestConfig` - the configuration of the AJAX request
115116

116117
### Event - `htmx:beforeSend` {#htmx:beforeSend}
@@ -137,6 +138,7 @@ See the documentation on [configuring swapping](@/docs.md#modifying_swapping_beh
137138

138139
* `detail.elt` - the target of the swap
139140
* `detail.xhr` - the `XMLHttpRequest`
141+
* `detail.boosted` - true if the request is via an element using boosting
140142
* `detail.requestConfig` - the configuration of the AJAX request
141143
* `detail.requestConfig.elt` - the element that dispatched the request
142144
* `detail.shouldSwap` - if the content will be swapped (defaults to `false` for non-200 response codes)
@@ -157,6 +159,7 @@ happen instead.
157159

158160
* `detail.elt` - the element that dispatched the request
159161
* `detail.xhr` - the `XMLHttpRequest`
162+
* `detail.boosted` - true if the request is via an element using boosting
160163
* `detail.requestConfig` - the configuration of the AJAX request
161164
* `detail.shouldSwap` - if the content will be swapped (defaults to `false` for non-200 response codes)
162165
* `detail.target` - the target of the swap

0 commit comments

Comments
 (0)