We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30bf5fe commit 43245a3Copy full SHA for 43245a3
src/runtime/animate/index.ts
@@ -1,8 +1,14 @@
1
import { cubicOut } from 'svelte/easing';
2
import { is_function } from 'svelte/internal';
3
-import { TransitionConfig } from 'svelte/transition';
4
5
-export interface AnimationConfig extends TransitionConfig {}
+// todo: same as Transition, should it be shared?
+export interface AnimationConfig {
6
+ delay?: number;
7
+ duration?: number;
8
+ easing?: (t: number) => number;
9
+ css?: (t: number, u: number) => string;
10
+ tick?: (t: number, u: number) => void;
11
+}
12
13
interface FlipParams {
14
delay: number;
0 commit comments