Function: removeNode()
function removeNode(node): Node | null;
Defined in: packages/blockly/core/utils/dom.ts:144
Removes a node from its parent. No-op if not attached to a parent.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | Node | null | The node to remove. |
Returns
Node | null
The node removed if removed; else, null.