Function: disableOrphans()
function disableOrphans(event): void;
Defined in: packages/blockly/core/events/utils.ts:432
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
event | Abstract | Custom data for event. |
Returns
void