[docs] Fix a typo in 03-run-time.md (#6933)

pull/6934/head
Dmitriy Fishman 3 years ago committed by GitHub
parent fd466d7221
commit f50d9b9f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -848,7 +848,7 @@ The `flip` function calculates the start and end position of an element and anim
* `easing` (`function`, default `cubicOut`) — an [easing function](docs#svelte_easing)
`duration` can be be provided as either:
`duration` can be provided as either:
- a `number`, in milliseconds.
- a function, `distance: number => duration: number`, receiving the distance the element will travel in pixels and returning the duration in milliseconds. This allows you to assign a duration that is relative to the distance travelled by each element.

Loading…
Cancel
Save