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>
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;