Stay organized with collections Save and categorize content based on your preferences.

blockly > IDragTarget > onDrop

IDragTarget.onDrop() method

Handles when a block or bubble is dropped on this component. Should not handle delete here.

Signature:

onDrop(dragElement: IDraggable): void;

Parameters

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

Returns:

void