react-zoom-pan-pinch
Version:
Zoom and pan html elements in easy way
6 lines (5 loc) • 503 B
TypeScript
import { ReactZoomPanPinchContext } from "../../models/context.model";
export declare function handlePanningStart(contextInstance: ReactZoomPanPinchContext, event: MouseEvent | TouchEvent): void;
export declare function handleAlignToBounds(contextInstance: ReactZoomPanPinchContext): void;
export declare function handlePanning(contextInstance: ReactZoomPanPinchContext, clientX: number, clientY: number): void;
export declare function handlePanningEnd(contextInstance: ReactZoomPanPinchContext): void;