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>
5 lines (4 loc) • 319 B
TypeScript
import { EventInfo } from './types';
export type EventListenerWithPointInfo = (e: PointerEvent, info: EventInfo) => void;
export declare function extractEventInfo(event: PointerEvent, pointType?: 'page' | 'client'): EventInfo;
export declare function addPointerInfo(handler: EventListenerWithPointInfo): EventListener;