Skip to main content

blockly > Connection > setShadowState

Connection.setShadowState() method

Changes the connection's shadow block.

Signature:

setShadowState(shadowState: blocks.State | null): void;

Parameters

Parameter

Type

Description

shadowState

blocks.State | null

An state represetation of the block or null.

Returns:

void