Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Node

htmlparser2 tree adapter Node interface.

Hierarchy

Index

Properties

next

next: Node

Next sibling.

nextSibling

nextSibling: Node

Same as next. DOM spec-compatible alias.

nodeType

nodeType: number

DOM spec-compatible node type.

parent

parent: ParentNode

Parent node.

parentNode

parentNode: ParentNode

Same as parent. DOM spec-compatible alias.

prev

prev: Node

Previous sibling.

previousSibling

previousSibling: Node

Same as prev. DOM spec-compatible alias.

type

type: string

The type of the node. E.g. Document will have type equal to 'root'`.

Generated using TypeDoc