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>

26 lines (25 loc) 665 B
import { Box } from 'framer-motion'; export interface LayoutLifecycles { onBeforeLayoutMeasure?: (box: Box) => void; onLayoutMeasure?: (box: Box, prevBox: Box) => void; /** * @internal */ onLayoutAnimationStart?: () => void; /** * @internal */ onLayoutAnimationComplete?: () => void; } export interface LayoutOptions extends LayoutLifecycles { 'layout'?: boolean | 'position' | 'size' | 'preserve-aspect'; 'layoutId'?: string; 'layoutScroll'?: boolean; 'layoutRoot'?: boolean; 'data-framer-portal-id'?: string; 'crossfade'?: boolean; /** * @public */ 'layoutDependency'?: any; }