Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm authored May 30, 2021
1 parent 1a1f36e commit e27d71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/02-template-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ If `this` is falsy, no component is rendered.

The `<svelte:window>` element allows you to add event listeners to the `window` object without worrying about removing them when the component is destroyed, or checking for the existence of `window` when server-side rendering.

Contrary to `<svelte:self>` this element can only be a the top level of your component and must never be inside a block or element.
Contrary to `<svelte:self>` this element can only be at the top level of your component and must never be inside a block or element.

```sv
<script>
Expand Down

0 comments on commit e27d71f

Please sign in to comment.