Skip to content

Commit e626e2a

Browse files
authored
docs: updating attribute table to use beforeend instead of beforeEnd (bigskysoftware#1427)
* docs: updating attribute table to use beforeend instead of beforeEnd * docs: updating jetbrains attributes
1 parent cbdbe1d commit e626e2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

editors/jetbrains/htmx.web-types.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
},
194194
{
195195
"name": "hx-swap",
196-
"description": "The **hx-swap** attribute controls how the response content is swapped into the DOM (e.g. 'outerHTML' or 'beforeEnd')",
196+
"description": "The **hx-swap** attribute controls how the response content is swapped into the DOM (e.g. 'outerHTML' or 'beforeend')",
197197
"description-sections": {
198198
"Inherited": ""
199199
},

www/content/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The following are the most common attributes when using htmx.
2828
| [`hx-push-url`](@/attributes/hx-push-url.md) | pushes the URL into the browser location bar, creating a new history entry
2929
| [`hx-select`](@/attributes/hx-select.md) | select content to swap in from a response
3030
| [`hx-select-oob`](@/attributes/hx-select-oob.md) | select content to swap in from a response, out of band (somewhere other than the target)
31-
| [`hx-swap`](@/attributes/hx-swap.md) | controls how content is swapped in (`outerHTML`, `beforeEnd`, `afterend`, ...)
31+
| [`hx-swap`](@/attributes/hx-swap.md) | controls how content is swapped in (`outerHTML`, `beforeend`, `afterend`, ...)
3232
| [`hx-swap-oob`](@/attributes/hx-swap-oob.md) | marks content in a response to be out of band (should swap in somewhere other than the target)
3333
| [`hx-target`](@/attributes/hx-target.md) | specifies the target element to be swapped
3434
| [`hx-trigger`](@/attributes/hx-trigger.md) | specifies the event that triggers the request

0 commit comments

Comments
 (0)