|
|
|
@ -670,7 +670,7 @@ Animates a `blur` filter alongside an element's opacity.
|
|
|
|
* `duration` (`number`, default 400) — milliseconds the transition lasts
|
|
|
|
* `duration` (`number`, default 400) — milliseconds the transition lasts
|
|
|
|
* `easing` (`function`, default `cubicInOut`) — an [easing function](/docs#run-time-svelte-easing)
|
|
|
|
* `easing` (`function`, default `cubicInOut`) — an [easing function](/docs#run-time-svelte-easing)
|
|
|
|
* `opacity` (`number`, default 0) - the opacity value to animate out to and in from
|
|
|
|
* `opacity` (`number`, default 0) - the opacity value to animate out to and in from
|
|
|
|
* `amount` (`number|string`, default 5) - the size of the blur (support css units, for example: "4rem", numbers use px)
|
|
|
|
* `amount` (`number | string`, default 5) - the size of the blur. Supports css units (for example: `"4rem"`). The default unit is `px`
|
|
|
|
|
|
|
|
|
|
|
|
```sv
|
|
|
|
```sv
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
@ -705,8 +705,8 @@ Animates the x and y positions and the opacity of an element. `in` transitions a
|
|
|
|
* `delay` (`number`, default 0) — milliseconds before starting
|
|
|
|
* `delay` (`number`, default 0) — milliseconds before starting
|
|
|
|
* `duration` (`number`, default 400) — milliseconds the transition lasts
|
|
|
|
* `duration` (`number`, default 400) — milliseconds the transition lasts
|
|
|
|
* `easing` (`function`, default `cubicOut`) — an [easing function](/docs#run-time-svelte-easing)
|
|
|
|
* `easing` (`function`, default `cubicOut`) — an [easing function](/docs#run-time-svelte-easing)
|
|
|
|
* `x` (`number|string`, default 0) - the x offset to animate out to and in from
|
|
|
|
* `x` (`number | string`, default 0) - the x offset to animate out to and in from
|
|
|
|
* `y` (`number|string`, default 0) - the y offset to animate out to and in from
|
|
|
|
* `y` (`number | string`, default 0) - the y offset to animate out to and in from
|
|
|
|
* `opacity` (`number`, default 0) - the opacity value to animate out to and in from
|
|
|
|
* `opacity` (`number`, default 0) - the opacity value to animate out to and in from
|
|
|
|
|
|
|
|
|
|
|
|
x and y use `px` by default but support css units, for example `x: '100vw'` or `y: '50%'`.
|
|
|
|
x and y use `px` by default but support css units, for example `x: '100vw'` or `y: '50%'`.
|
|
|
|
|