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