Class: Document
The root node of the document.
Extends
NodeWithChildren
Constructors
new Document()
new Document(
children
):Document
Parameters
• children: ChildNode
[]
Children of the node. Only certain node types can have children.
Returns
Inherited from
NodeWithChildren.constructor
Defined in
node_modules/domhandler/lib/node.d.ts:130
Properties
children
children:
ChildNode
[]
Inherited from
NodeWithChildren.children
Defined in
node_modules/domhandler/lib/node.d.ts:126
endIndex
endIndex:
null
|number
The end index of the node. Requires withEndIndices
on the handler to be `true.
Inherited from
NodeWithChildren.endIndex
Defined in
node_modules/domhandler/lib/node.d.ts:39
next
next:
null
|ChildNode
Next sibling