Hierarchy (view full)

Constructors

Properties

data: string
firstChild: null | ChildNode

Node.firstChild on MDN

lastChild: null | ChildNode

Node.lastChild on MDN

nextElementSibling: null | Element
nextSibling: null | ChildNode

Node.nextSibling on MDN

nodeName: string

Node.nodeName on MDN

nodeType: number = Node.PROCESSING_INSTRUCTION_NODE

Node.nodeType on MDN

parentNode: null | ParentNode

Node.parentNode on MDN

previousElementSibling: null | Element
previousSibling: null | ChildNode
target: string
ATTRIBUTE_NODE: number = 2
CDATA_SECTION_NODE: number = 4
COMMENT_NODE: number = 8
DOCUMENT_FRAGMENT_NODE: number = 11
DOCUMENT_NODE: number = 9
DOCUMENT_TYPE_NODE: number = 10
ELEMENT_NODE: number = 1
PROCESSING_INSTRUCTION_NODE: number = 7
TEXT_NODE: number = 3

Accessors

  • get length(): number
  • Returns number

  • get nodeValue(): null | string
  • Returns null | string

    Node.nodeValue on MDN

  • set nodeValue(value): void
  • Parameters

    • value: null | string

    Returns void

    Node.nodeValue on MDN

  • get textContent(): null | string
  • Returns null | string

    Node.textContent on MDN

  • set textContent(value): void
  • Parameters

    • value: null | string

    Returns void

    Node.textContent on MDN

Methods