1
0
Fork 0
mirror of synced 2024-07-01 12:30:41 +12:00
This commit is contained in:
Keviin Åberg Kultalahti 2021-03-01 17:09:23 +01:00
parent 58f0c45085
commit 43e37e2ed6
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@
]
const transitions = [
'fade', 'blur', 'fly' // slide and scale are hidden because they do not seem to result in any effect
'fade', 'blur', 'fly', 'scale' // slide is hidden because it does not seem to result in any effect
]
$: groups = componentDefinition?.styleable ? Object.keys(allStyles) : []

View file

@ -1,12 +1,12 @@
import { fade, blur, slide, fly } from "svelte/transition"
import { fade, blur, scale, fly } from "svelte/transition"
// Default options
const transitions = new Map([
["fade", { tn: fade, opt: {} }],
["blur", { tn: blur, opt: {} }],
// These two seem to not result in any effect
// ["slide", { tn: slide, opt: {} }],
// ["scale", { tn: slide, opt: {} }],
// This one seems to not result in any effect
// ["slide", { tn: slide, opt: {} }],
["scale", { tn: scale, opt: {} }],
["fly", { tn: fly, opt: { y: 80 } }],
])