Skip to main content

blockly > Input > setShadowDom

Input.setShadowDom() method

Changes the connection's shadow block.

Signature:

setShadowDom(shadow: Element | null): Input;

Parameters

Parameter

Type

Description

shadow

Element | null

DOM representation of a block or null.

Returns:

Input

The input being modified (to allow chaining).