UNPKG

motion-v

Version:

<h1 align="center"> <img width="35" height="35" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" /><br />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>);