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) • 611 B
TypeScript
import { PanInfo } from './PanSession';
import { Feature } from '../../feature';
export declare class PanGesture extends Feature {
static key: "pan";
private session?;
private removePointerDownListener;
onPointerDown(pointerDownEvent: PointerEvent): void;
createPanHandlers(): {
onSessionStart: (event: PointerEvent, info: PanInfo) => void;
onStart: (event: PointerEvent, info: PanInfo) => void;
onMove: (event: any, info: any) => void;
onEnd: (event: PointerEvent, info: PanInfo) => void;
};
mount(): void;
update(): void;
unmount(): void;
}