Skip to content

Commit cebc90d

Browse files
authored
Update 0001-reactive-assignments.md
1 parent acfa1c8 commit cebc90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0001-reactive-assignments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ Currently, inline event handlers must be call expressions...
488488
This also allows us to do fairly sophisticated things like this:
489489

490490
```
491-
<input on:keydown"{e => e.which === 39 ? next(e) : e.which === 37 ? prev(e) : null}">
491+
<input on:keydown="{e => e.which === 39 ? next(e) : e.which === 37 ? prev(e) : null}">
492492
```
493493

494494
In Svelte 2, there is a shorthand:

0 commit comments

Comments
 (0)