UNPKG

@oku-ui/motion

Version:

A tiny, performant animation library for VueJS

17 lines (16 loc) 1.03 kB
import { DynamicAnimationOptions, Variant } from 'framer-motion'; import { VNode } from 'vue'; import { AnimateOptions } from '../types'; export declare function resolveVariant(definition?: AnimateOptions['initial'], variants?: AnimateOptions['variants']): Variant | undefined; export declare function hasChanged(a: any, b: any): boolean; export declare function shallowCompare(next: any[], prev: any[]): boolean; export declare function addUniqueItem<T>(array: T[], item: T): void; export declare function removeItem<T>(array: T[], item: T): void; export declare function getOptions(options: DynamicAnimationOptions, key: string): DynamicAnimationOptions; export declare function isCssVar(name: string): boolean; export declare function noop(): void; export declare const noopReturn: <V>(v: V) => V; export declare function isNumber(value: any): boolean; export declare function isElement(vNode: VNode): boolean; export declare function getChildKey(vNode: VNode): PropertyKey | null; export declare function setStaticValue(): void;