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>
26 lines (25 loc) • 665 B
TypeScript
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;
}