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>
25 lines (24 loc) • 792 B
TypeScript
import { CssPropertyDefinition } from '../types';
/**
* A list of all transformable axes. We'll use this list to generated a version
* of each axes for each transform.
*/
export declare const axes: string[];
export declare const transformDefinitions: Map<string, CssPropertyDefinition>;
export declare const isTransform: (name: string) => boolean;
export declare const transformAlias: {
x: string;
y: string;
z: string;
};
export declare function compareTransformOrder([a]: [string, any], [b]: [string, any]): number;
export declare function buildTransformTemplate(transforms: [string, any][]): string;
export declare const transformResetValue: {
translate: number[];
rotate: number;
scale: number;
skew: number;
x: number;
y: number;
z: number;
};