Skip to main content

Home > blockly > Toolbox > onDragEnter

Toolbox.onDragEnter() method

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

Signature:

onDragEnter(_dragElement: IDraggable): void;

Parameters

ParameterTypeDescription
_dragElementIDraggableThe block or bubble currently being dragged.

Returns:

void