Canvas Toolkit
← Class index

CDragEnterEvent

Events · extends CDragMoveEvent

Event delivered when a drag operation enters a widget.

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

Declared members

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

Creates a drag-enter 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.