From f50d9b9f3441bf092d93b900ce966690a7a1a68c Mon Sep 17 00:00:00 2001 From: Dmitriy Fishman Date: Tue, 16 Nov 2021 06:43:41 +0200 Subject: [PATCH] [docs] Fix a typo in 03-run-time.md (#6933) --- site/content/docs/03-run-time.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index 31067cf861..4219a37da8 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -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.