Skip to main content

Home > blockly > Input > setShadowDom

Input.setShadowDom() method

Changes the connection's shadow block.

Signature:

setShadowDom(shadow: Element | null): Input;

Parameters

ParameterTypeDescription
shadowElement | nullDOM representation of a block or null.

Returns:

Input

The input being modified (to allow chaining).