Cloning node.
Parameters:
Name | Type | Description |
---|---|---|
node |
HTMLElement | the node to be cloned |
deep |
boolean | true if the children of the node should also be cloned, or false to clone only the specified node. |
- Source:
- See:
Returns:
The new node that will be a clone of node
- Type
- HTMLElement