blockly > inputs > Input > setShadowDom
inputs.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:
The input being modified (to allow chaining).