@oku-ui/motion
Version:
A tiny, performant animation library for VueJS
7 lines (6 loc) • 352 B
TypeScript
import { Variant } from './types';
export type MotionEventNames = 'motionstart' | 'motioncomplete' | 'hoverstart' | 'hoverend' | 'pressstart' | 'pressend' | 'viewenter' | 'viewleave';
export declare function motionEvent(name: MotionEventNames, target: Variant, isExit?: boolean): CustomEvent<{
target: Variant;
isExit: boolean | undefined;
}>;