mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 13:31:06 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
cbcf095eee
@ -1,7 +1,7 @@
|
||||
// This adds the "preload" extension to htmx. By default, this will
|
||||
// preload the targets of any tags with `href` or `hx-get` attributes
|
||||
// if they also have a `preload` attribute as well. See documentation
|
||||
// for more detauls
|
||||
// for more details
|
||||
htmx.defineExtension("preload", {
|
||||
|
||||
onEvent: function(name, event) {
|
||||
|
@ -115,7 +115,6 @@ the documentation on [configuring swapping](/docs#modifying_swapping_behavior_wi
|
||||
|
||||
* `detail.elt` - the element that dispatched the request
|
||||
* `detail.xhr` - the `XMLHttpRequest`
|
||||
* `detail.target` - the target of the request
|
||||
* `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
|
||||
|
@ -38,6 +38,7 @@ These examples may make it a bit easier to get started using htmx with your plat
|
||||
|
||||
- <https://github.com/adamchainz/django-htmx>
|
||||
- <https://github.com/idlesign/django-siteajax>
|
||||
- <https://github.com/guettli/django-htmx-fun/>
|
||||
|
||||
### FastAPI
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user