UNPKG

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>

17 lines (16 loc) 714 B
import { Options } from '../../types'; /** * Core animation update function that handles all animation state changes and execution * @param controlActiveState - Animation states that need to be updated * @param controlDelay - Animation delay time * @param directAnimate - Direct animation target value * @param directTransition - Direct animation transition config */ export interface AnimateUpdatesOptions { controlActiveState?: Partial<Record<string, boolean>>; controlDelay?: number; directAnimate?: Options['animate']; directTransition?: Options['transition']; isExit?: boolean; } export type AnimateUpdates = (options?: AnimateUpdatesOptions) => Promise<any> | (() => Promise<any>);