Canvas Toolkit
← Class index

CDragMoveEvent

Events · extends CDropEvent

Event delivered while a drag operation moves within a widget.

import { CDragMoveEvent } from "canvas-toolkit-lib";

Declared members

constructor(pos: CPoint, mimeData: CMimeData, possibleActions: CDropAction, proposedAction: CDropAction, type?: CEventType);

Creates a drag-move event. @param pos Position relative to the receiving widget. @param mimeData Data carried by the drag operation. @param possibleActions Actions supported by the drag source. @param proposedAction Action proposed by the drag source. @param type Event type; defaults to CEventType.DragMove.