Object mapping attribute names to attribute values.
Children of the node. Only certain node types can have children.
The end index of the node. Requires withEndIndices
on the handler to be `true.
Name of the tag, eg. div
, span
.
Optional
namespaceElement namespace (parse5 only).
Next sibling
Parent of the node
Previous sibling
Optional
sourceparse5
source code location info, with start & end tags.
Available if parsing with parse5 and location info is enabled.
The start index of the node. Requires withStartIndices
on the handler to be `true.
The type of the node.
Optional
x-Element attribute namespaces (parse5 only).
Optional
x-Element attribute namespace-related prefixes (parse5 only).
An element within the DOM.