Merge remote-tracking branch 'origin/master'

This commit is contained in:
carson 2021-11-06 11:36:18 -06:00
commit cbcf095eee
3 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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

View File

@ -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