Skip to main content

blockly > Connection > setShadowDom

Connection.setShadowDom() method

Changes the connection's shadow block.

Signature:

setShadowDom(shadowDom: Element | null): void;

Parameters

Parameter

Type

Description

shadowDom

Element | null

DOM representation of a block or null.

Returns:

void