Skip to content

Commit 99b63f0

Browse files
braebogtm-nayan
andauthored
Update content/tutorial/03-advanced-svelte/09-special-elements/05-svelte-body/README.md
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
1 parent f4fc92a commit 99b63f0

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/03-advanced-svelte/09-special-elements/05-svelte-body

1 file changed

+1
-1
lines changed

content/tutorial/03-advanced-svelte/09-special-elements/05-svelte-body/README.md

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

55
Similar to [`<svelte:window>`]($docs#template-syntax-svelte-window), the [`<svelte:body>`]($docs#template-syntax-svelte-body) element allows you to listen for events that fire on `document.body`. This is useful with the `mouseenter` and `mouseleave` events, which don't fire on `window`.
66

7-
Add the `mouseenter` and `mouseleave` handlers to the [`<svelte:body>`]($docs#template-syntax-svelte-body) tag:
7+
Add the `mouseenter` and `mouseleave` handlers to the `<svelte:body>` tag:
88

99
```svelte
1010
<svelte:body

0 commit comments

Comments
 (0)