Class DomHandler

Constructors

Properties

dom: ChildNode[] = []

The elements of the DOM

lastNode: null | DataNode = null

A data node that is still being written to.

root: Document = ...

The root element for the DOM

tagStack: ParentNode[] = ...

Stack of open tags.

Methods

  • Parameters

    • data: string

    Returns void

  • Parameters

    • name: string
    • attribs: { [key: string]: string }

    Returns void

  • Parameters

    • name: string
    • data: string

    Returns void

  • Parameters

    • data: string

    Returns void