Draggable.d.ts 376 B

12345678910111213
  1. import Handler from '../Handler';
  2. import Element, { ElementEvent } from '../Element';
  3. export default class Draggable {
  4. handler: Handler;
  5. _draggingTarget: Element;
  6. _dropTarget: Element;
  7. _x: number;
  8. _y: number;
  9. constructor(handler: Handler);
  10. _dragStart(e: ElementEvent): void;
  11. _drag(e: ElementEvent): void;
  12. _dragEnd(e: ElementEvent): void;
  13. }