0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 17:00:40 +01:00

docs: fix typo

This commit is contained in:
Simon H 2021-05-30 12:33:20 +02:00 committed by GitHub
parent 1a1f36edcf
commit e27d71f0cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>