Skip to content

Commit fef5db4

Browse files
committed
revert spelling fixed in other PR and fix a spelling mistake I copied
1 parent c9cf86f commit fef5db4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

www/content/events.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ You can also override the details of the history restoration request in this eve
275275
* `detail.item.content` - the content of the cache that will be swapped in
276276
* `detail.item.title` - the page title to update from the cache
277277
* `detail.path` - the path and query of the page being restored
278-
* `detial.swapSpec` - the swapSpec to be used containing the default swapStyle='innerHTML'
278+
* `detial.swapSpec` - the swapSpec to be used containing the defatul swapStyle='innerHTML'
279279

280280
### Event - `htmx:historyCacheMiss` {#htmx:historyCacheMiss}
281281

@@ -289,7 +289,7 @@ You can also modify the xhr request or other details before it makes the the req
289289
* `detail.historyElt` - the history element or body that will get replaced
290290
* `detail.xhr` - the `XMLHttpRequest` that will retrieve the remote content for restoration
291291
* `detail.path` - the path and query of the page being restored
292-
* `detial.swapSpec` - the swapSpec to be used containing the default swapStyle='innerHTML'
292+
* `detial.swapSpec` - the swapSpec to be used containing the defatul swapStyle='innerHTML'
293293

294294
### Event - `htmx:historyCacheMissLoadError` {#htmx:historyCacheMissLoadError}
295295

@@ -314,7 +314,7 @@ You can modify the details before it makes the swap to restore the history
314314
* `detail.xhr` - the `XMLHttpRequest`
315315
* `detail.path` - the path and query of the page being restored
316316
* `detail.response` - the response text that will be swapped in
317-
* `detial.swapSpec` - the swapSpec to be used containing the default swapStyle='innerHTML'
317+
* `detial.swapSpec` - the swapSpec to be used containing the defatul swapStyle='innerHTML'
318318

319319
### Event - `htmx:historyRestore` {#htmx:historyRestore}
320320

@@ -375,7 +375,7 @@ This event is triggered as part of an [out of band swap](@/docs.md#oob_swaps) an
375375
* `detail.shouldSwap` - if the content will be swapped (defaults to `true`)
376376
* `detail.target` - the target of the swap
377377
* `detail.fragment` - the response fragment
378-
* `detial.swapSpec` - the swapSpec to be used containing the swapStyle
378+
* `detail.swapSpec` - the swapSpec to be used containing the swapStyle
379379

380380
### Event - `htmx:oobErrorNoTarget` {#htmx:oobErrorNoTarget}
381381

0 commit comments

Comments
 (0)