Skip to content

Commit 6b6445a

Browse files
authored
add parameters to in:fly (#14057)
Without a `y` value, `fly` is indistinguishable from `fade`
1 parent 0efe031 commit 6b6445a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/03-template-syntax/14-in-and-out.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ The `in:` and `out:` directives are identical to [`transition:`](transition), ex
1717
</label>
1818
1919
{#if visible}
20-
<div in:fly out:fade>flies in, fades out</div>
20+
<div in:fly={{ y: 200 }} out:fade>flies in, fades out</div>
2121
{/if}
2222
```

0 commit comments

Comments
 (0)