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

Update tutorial text.md (#6329)

The component referenced in text.md is no longer on line 33 of the provided code.
This commit is contained in:
Walker Lockard 2021-05-16 01:39:39 -05:00 committed by GitHub
parent 0a3be1d041
commit 19e4a4fdf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ title: <svelte:window>
Just as you can add event listeners to any DOM element, you can add event listeners to the `window` object with `<svelte:window>`.
On line 33, add the `keydown` listener:
On line 11, add the `keydown` listener:
```html
<svelte:window on:keydown={handleKeydown}/>