motion-v
Version:
<p align="center"> <img width="100" height="100" alt="Motion logo" src="https://user-images.githubusercontent.com/7850794/164965523-3eced4c4-6020-467e-acde-f11b7900ad62.png" /> </p> <h1 align="center">Motion for Vue</h1>
16 lines (15 loc) • 504 B
TypeScript
import { MotionState } from './motion-state';
import { $Transition, AnimationFactory } from '../types';
export type ActiveVariant = {
[key: string]: {
definition: string;
transition: $Transition;
};
};
export declare function animateVariantsChildren(state: MotionState, activeState: ActiveVariant, isFirstAnimate?: boolean): {
animations: any[];
getAnimations: () => Promise<void>;
} | {
animations: AnimationFactory[];
getAnimations: () => Promise<unknown[]>;
};