blockly > Events > disableOrphans

Events.disableOrphans() function

Set if a block is disabled depending on whether it is properly connected. Use this on applications where all blocks should be connected to a top block.

Signature:

export declare function disableOrphans(event: Abstract): void;

Parameters

Parameter Type Description
event Abstract Custom data for event.

Returns:

void