Class: ProcessingInstruction
Defined in: node_modules/domhandler/lib/node.d.ts:110
Processing instructions, including doc types.
Extends
DataNode
Constructors
Constructor
new ProcessingInstruction(
name,data):ProcessingInstruction
Defined in: node_modules/domhandler/lib/node.d.ts:113
Parameters
name
string
data
string
Returns
ProcessingInstruction
Overrides
DataNode.constructor
Properties
data
data:
string
Defined in: node_modules/domhandler/lib/node.d.ts:81
Inherited from
DataNode.data
endIndex
endIndex:
null|number
Defined in: node_modules/domhandler/lib/node.d.ts:39
The end index of the node. Requires withEndIndices on the handler to be `true.
Inherited from
DataNode.endIndex
name
name:
string
Defined in: node_modules/domhandler/lib/node.d.ts:111
next
next:
null|ChildNode
Defined in: node_modules/domhandler/lib/node.d.ts:35
Next sibling
Inherited from
DataNode.next
parent
parent:
null|ParentNode
Defined in: node_modules/domhandler/lib/node.d.ts:31
Parent of the node
Inherited from
DataNode.parent
prev
prev:
null|ChildNode
Defined in: node_modules/domhandler/lib/node.d.ts:33
Previous sibling
Inherited from
DataNode.prev
sourceCodeLocation?
optionalsourceCodeLocation:null|SourceCodeLocation
Defined in: node_modules/domhandler/lib/node.d.ts:45
parse5 source code location info.
Available if parsing with parse5 and location info is enabled.
Inherited from
DataNode.sourceCodeLocation
startIndex
startIndex:
null|number
Defined in: node_modules/domhandler/lib/node.d.ts:37
The start index of the node. Requires withStartIndices on the handler to be `true.
Inherited from
DataNode.startIndex
type
type:
Directive
Defined in: node_modules/domhandler/lib/node.d.ts:112
The type of the node.
Overrides
DataNode.type