add parameters to `in:fly`

Without a `y` value, `fly` is indistinguishable from `fade`
pull/14057/head
Rich Harris 2 years ago committed by GitHub
parent 0efe031edc
commit 642e8e1c2a
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