From 46c490b4e33a308ec846e953c342321c9a373c9c Mon Sep 17 00:00:00 2001 From: Theo-Steiner Date: Sat, 10 Apr 2021 13:50:26 +0900 Subject: [PATCH] update documentation to include axis information --- site/content/docs/04-run-time.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site/content/docs/04-run-time.md b/site/content/docs/04-run-time.md index 72b0736ac6..f84f9fbc60 100644 --- a/site/content/docs/04-run-time.md +++ b/site/content/docs/04-run-time.md @@ -768,6 +768,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`) — the axis of motion along which the transition occurs ```sv {#if condition} -
- slides in and out +
+ slides in and out horizontally
{/if} ```