Skip to content

Commit f969628

Browse files
authored
Update 04-svelte-body.md (#16027)
Add missing 'at' in sentence three of description.
1 parent 7433cb9 commit f969628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/05-special-elements/04-svelte-body.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: <svelte:body>
88

99
Similarly to `<svelte:window>`, this element allows you to add listeners to events on `document.body`, such as `mouseenter` and `mouseleave`, which don't fire on `window`. It also lets you use [actions](use) on the `<body>` element.
1010

11-
As with `<svelte:window>` and `<svelte:document>`, this element may only appear the top level of your component and must never be inside a block or element.
11+
As with `<svelte:window>` and `<svelte:document>`, this element may only appear at the top level of your component and must never be inside a block or element.
1212

1313
```svelte
1414
<svelte:body onmouseenter={handleMouseenter} onmouseleave={handleMouseleave} use:someAction />

0 commit comments

Comments
 (0)