motion-v
Version:
<h1 align="center"> <img width="35" height="35" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" /><br />Motion for Vue</h1>
12 lines (11 loc) • 379 B
TypeScript
import { MotionState } from '../state/motion-state';
export type FeatureKey = 'animation' | 'projection' | 'layout' | 'hover' | 'press' | 'focus' | 'drag' | 'pan' | 'inView';
export declare class Feature {
static key: FeatureKey;
isMount: boolean;
state: MotionState;
constructor(state: MotionState);
mount(): void;
unmount(): void;
update(): void;
}