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>
18 lines (17 loc) • 659 B
TypeScript
import { Feature } from '../feature';
import { MotionState } from '../../state/motion-state';
declare const STATE_TYPES: readonly ["initial", "animate", "whileInView", "whileHover", "whilePress", "whileDrag", "whileFocus", "exit"];
export type StateType = typeof STATE_TYPES[number];
export declare class AnimationFeature extends Feature {
static key: "animation";
unmountControls?: () => void;
constructor(state: MotionState);
updateAnimationControlsSubscription(): void;
/**
* Subscribe any provided AnimationControls to the component's VisualElement
*/
mount(): void;
update(): void;
unmount(): void;
}
export {};