svelte-motion
Version:
Svelte animation library based on the React library framer-motion.
11 lines (10 loc) • 363 B
TypeScript
/**
based on framer-motion@4.1.17,
Copyright (c) 2018 Framer B.V.
*/
import { MakeTargetAnimatable } from "../../utils/animation";
/**
* Parse a DOM variant to make it animatable. This involves resolving CSS variables
* and ensuring animations like "20%" => "calc(50vw)" are performed in pixels.
*/
export declare const parseDomVariant: MakeTargetAnimatable;