react-quick-pinch-zoom
Version:
A react component that providing multi-touch gestures for zooming and dragging on any DOM element.
6 lines (5 loc) • 331 B
TypeScript
import type { UpdateAction } from './PinchZoom/types';
export declare const isTouch: () => boolean;
export declare const make2dTransformValue: ({ x, y, scale }: UpdateAction) => string;
export declare const make3dTransformValue: ({ x, y, scale }: UpdateAction) => string;
export declare const hasTranslate3DSupport: () => boolean;