DataNode
Hierarchy
Index
Constructors
constructor
Parameters
type: Text | Directive | Comment
The type of the node
data: string
The content of the data node
Returns DataNode
Properties
children
close
data
loc
open
parent
Accessors
nodeValue
Returns string
Parameters
data: string
Returns void
The DataNode element extends the one from Domhandler to add some extra properties (https://domhandler.js.org/classes/DataNode.html)