Preparing search index...
The search index is not available
domhandler
domhandler
cloneNode
Function cloneNode
clone
Node
<
T
>
(
node
:
T
, recursive
?:
boolean
)
:
T
Clone a node, and optionally its children.
Returns
A clone of the node.
Type Parameters
T
extends
Node
<
T
>
Parameters
node:
T
recursive:
boolean
= false
Clone child nodes as well.
Returns
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
domhandler
<internal>
default
CDATA
Comment
Data
Node
Document
Dom
Handler
Element
Node
Node
With
Children
Processing
Instruction
Text
Dom
Handler
Options
Any
Node
Child
Node
Parent
Node
clone
Node
has
Children
isCDATA
is
Comment
is
Directive
is
Document
is
Tag
is
Text
Clone a node, and optionally its children.
Returns
A clone of the node.