From c8314e1b900b90cb9717980995a55e1e7d200bd6 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sun, 7 Aug 2022 16:13:25 -0700 Subject: [PATCH] [docs] document axis parameter --- site/content/docs/04-run-time.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/content/docs/04-run-time.md b/site/content/docs/04-run-time.md index bf5574ad44..7253619065 100644 --- a/site/content/docs/04-run-time.md +++ b/site/content/docs/04-run-time.md @@ -745,6 +745,7 @@ Slides an element in and out. * `delay` (`number`, default 0) — milliseconds before starting * `duration` (`number`, default 400) — milliseconds the transition lasts * `easing` (`function`, default `cubicOut`) — an [easing function](/docs#run-time-svelte-easing) +* `axis` (`'x'` | `'y'`, default `'y'`) — direction of the transition ```sv {#if condition} -
+
slides in and out
{/if}