add parameters to `in:fly` (#14057)

Without a `y` value, `fly` is indistinguishable from `fade`
pull/14064/head
Rich Harris 6 days ago committed by GitHub
parent 0efe031edc
commit 6b6445a934
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,6 +17,6 @@ The `in:` and `out:` directives are identical to [`transition:`](transition), ex
</label>
{#if visible}
<div in:fly out:fade>flies in, fades out</div>
<div in:fly={{ y: 200 }} out:fade>flies in, fades out</div>
{/if}
```

Loading…
Cancel
Save