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

Without a `y` value, `fly` is indistinguishable from `fade`
pull/14064/head
Rich Harris 12 months 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> </label>
{#if visible} {#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} {/if}
``` ```

Loading…
Cancel
Save