blockly > IDragTarget > onDragEnter

IDragTarget.onDragEnter() method

Handles when a cursor with a block or bubble enters this drag target.

Signature:

onDragEnter(dragElement: IDraggable): void;

Parameters

Parameter Type Description
dragElement IDraggable The block or bubble currently being dragged.

Returns:

void