Skip to main content

blockly > DragTarget > onDragEnter

DragTarget.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