source: imaps-frontend/node_modules/react-use/esm/usePinchZoom.d.ts@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 512 bytes
RevLine 
[d565449]1import { RefObject } from 'react';
2export declare type CacheRef = {
3 prevDiff: number;
4 evCache: Array<PointerEvent>;
5};
6export declare enum ZoomState {
7 'ZOOMING_IN' = "ZOOMING_IN",
8 'ZOOMING_OUT' = "ZOOMING_OUT"
9}
10export declare type ZoomStateType = ZoomState.ZOOMING_IN | ZoomState.ZOOMING_OUT;
11declare const usePinchZoom: (ref: RefObject<HTMLElement>) => {
12 zoomingState: ZoomState;
13 pinchState: number;
14} | {
15 zoomingState: null;
16 pinchState: number;
17};
18export default usePinchZoom;
Note: See TracBrowser for help on using the repository browser.