From 9b31b628bbea32b70971f3d2e4f64e0ab4856728 Mon Sep 17 00:00:00 2001 From: Paulo Roberto Ribeiro Date: Sat, 17 Apr 2021 10:08:52 -0300 Subject: [PATCH] Update hx-swap.md to include the 'none' option --- www/attributes/hx-swap.md | 1 + 1 file changed, 1 insertion(+) diff --git a/www/attributes/hx-swap.md b/www/attributes/hx-swap.md index 4d9c09ec..c6ecff04 100644 --- a/www/attributes/hx-swap.md +++ b/www/attributes/hx-swap.md @@ -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)