--- title: Adding parameters --- Transition functions can accept parameters. Replace the `fade` transition with `fly`... ```svelte ``` ...and apply it to the `

` along with some options: ```svelte

Flies in and out

``` Note that the transition is _reversible_ — if you toggle the checkbox while the transition is ongoing, it transitions from the current point, rather than the beginning or the end.