survey-core
Version:
survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.
17 lines (16 loc) • 448 B
TypeScript
export declare class DragOrClickHelper {
private dragHandler;
private pointerDownEvent;
private currentTarget;
private startX;
private startY;
private currentX;
private currentY;
private itemModel;
constructor(dragHandler: any);
onPointerDown(pointerDownEvent: any, itemModel?: any): void;
private onPointerUp;
private tryToStartDrag;
private get isMicroMovement();
private clearListeners;
}