From 99a04c464d07cd87e2ebd878a1ef629bc27b2a4c Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Tue, 28 Dec 2021 13:17:44 +0700 Subject: [PATCH] [docs] mention tweened duration as function Resolves #3353 --- 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 c4a8b76e6..54228f5c2 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -445,7 +445,7 @@ store = tweened(value: any, options) Tweened stores update their values over a fixed duration. The following options are available: * `delay` (`number`, default 0) — milliseconds before starting -* `duration` (`number`, default 400) — milliseconds the tween lasts +* `duration` (`number` | `function`, default 400) — milliseconds the tween lasts * `easing` (`function`, default `t => t`) — an [easing function](/docs#run-time-svelte-easing) * `interpolate` (`function`) — see below