svelte-motion
Version:
Svelte animation library based on the React library framer-motion.
9 lines (8 loc) • 320 B
TypeScript
/**
based on framer-motion@4.1.17,
Copyright (c) 2018 Framer B.V.
*/
export declare type Lock = (() => void) | false;
export declare function createLock(name: string): () => Lock;
export declare function getGlobalLock(drag: boolean | "x" | "y" | "lockDirection"): Lock;
export declare function isDragActive(): boolean;