Update hx-swap.md to include the 'none' option

This commit is contained in:
Paulo Roberto Ribeiro 2021-04-17 10:08:52 -03:00 committed by GitHub
parent 5f72dfead6
commit 9b31b628bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ The possible values of this attribute are:
* `afterbegin` - Insert the response before the first child of the target element
* `beforeend` - Insert the response after the last child of the target element
* `afterend` - Insert the response after the target element
* `none`- Does not append content from response (out of band items will still be processed).
These options are based on standard DOM naming and the
[`Element.insertAdjacentHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML)