@inweb/viewer-visualize
Version:
JavaScript library for rendering CAD and BIM files in a browser using VisualizeJS
20 lines (19 loc) • 505 B
TypeScript
interface JoyStickStatus {
x: number;
y: number;
global: any;
}
export declare class OdJoyStickDragger {
private onMouseDown;
private onMouseMove;
private onMouseUp;
private drawExternal;
private drawInternal;
private canvas;
private onResize;
private hasEventListeners;
private container;
constructor(global: any, container: HTMLElement, callback: (status: JoyStickStatus) => void, canvasElement?: HTMLCanvasElement);
cleanup(): void;
}
export {};