__ReplaceElementReplaces an Element node with a specified node.
| Key | Description |
|---|---|
| newChild | The new node that will replace the old node. If this node already exists in the Element tree, it will first be removed from its original position. |
| oldChild | The original node that is being replaced. |
No return value.
The frontend framework can perform the replacement operation as follows.