Skip to main content

blockly > IDragTarget > onDragOver

IDragTarget.onDragOver() method

Handles when a cursor with a block or bubble is dragged over this drag target.

Signature:

onDragOver(dragElement: IDraggable): void;

Parameters

Parameter

Type

Description

dragElement

IDraggable

The block or bubble currently being dragged.

Returns:

void