You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
376 B
14 lines
376 B
4 weeks ago
|
import Handler from '../Handler';
|
||
|
import Element, { ElementEvent } from '../Element';
|
||
|
export default class Draggable {
|
||
|
handler: Handler;
|
||
|
_draggingTarget: Element;
|
||
|
_dropTarget: Element;
|
||
|
_x: number;
|
||
|
_y: number;
|
||
|
constructor(handler: Handler);
|
||
|
_dragStart(e: ElementEvent): void;
|
||
|
_drag(e: ElementEvent): void;
|
||
|
_dragEnd(e: ElementEvent): void;
|
||
|
}
|