blockly > BlockDragger > shouldDisconnect_

BlockDragger.shouldDisconnect_() method

Whether or not we should disconnect the block when a drag is started.

Signature:

protected shouldDisconnect_(healStack: boolean): boolean;

Parameters

Parameter Type Description
healStack boolean Whether or not to heal the stack after disconnecting.

Returns:

boolean

True to disconnect the block, false otherwise.