UNPKG

@multiplayer-app/session-recorder-browser

Version:
17 lines 717 B
export declare class DragManager { private isDragging; private dragStarted; private isOnLeftHalfOfScreen; private recorderButton; private recorderPlacement; private onDragEnd; private updatePopoverPosition; private onRecordingButtonClick; private readonly isBrowser; constructor(recorderButton: HTMLButtonElement, recorderPlacement: string, onDragEnd?: (isDragging: boolean, isDragStarted: boolean, isOnLeftHalfOfScreen: boolean) => void, updatePopoverPosition?: () => void, onRecordingButtonClick?: (e: MouseEvent) => void); init(): void; private loadStoredPosition; private savePosition; private setupDragListeners; } //# sourceMappingURL=dragManager.d.ts.map