UNPKG

@ulb-darmstadt/photogrammetry-viewer

Version:

```console npm i photogrammetry-viewer ``` This library provides an HTML web component that displays photogrammetric data. The component consists of a combined 3D and 2D viewer. For each view of the 3D model, the 2D image closest to the view is loaded. Fo

14 lines (13 loc) 633 B
import { EventEmitter } from 'events'; export declare const debounce: (func: Function, delay?: number) => (this: any, ...args: any[]) => void; export declare function doubleEventHandler(callback: (...args: any[]) => void, delay?: number): () => void; export declare class SingleClickEventHandler extends EventEmitter { private _isHoldEvent; private _holdTimeoutId; private _doubleClickTimeoutId; private _delay; private _numClick; constructor(parentElement: HTMLElement, pointerDownFunction?: string, pointerUpFunction?: string, delay?: number); private _handleMouseDown; private _handleMouseClick; }