Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ParentNode

htmlparser2 tree adapter ParentNode interface.

Hierarchy

Index

Properties

childNodes

childNodes: Node[]

Same as children. DOM spec-compatible alias.

children

children: Node[]

Child nodes.

firstChild

firstChild: Node

First child of the node.

lastChild

lastChild: Node

Last child of the node.

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