blockly > BlockDragger > disconnectBlock_
BlockDragger.disconnectBlock_() method
Disconnects the block and moves it to a new location.
Signature:
protected disconnectBlock_(healStack: boolean, currentDragDeltaXY: Coordinate): void;
Parameters
Parameter | Type | Description |
---|---|---|
healStack | boolean | Whether or not to heal the stack after disconnecting. |
currentDragDeltaXY | Coordinate | How far the pointer has moved from the position at mouse down, in pixel units. |
Returns:
void