Function getInnerHTML

  • getInnerHTML(node: AnyNode, options?: DomSerializerOptions): string
  • Deprecated

    Use the dom-serializer module directly.

    Returns

    node's inner HTML.

    Parameters

    • node: AnyNode

      Node to get the inner HTML of.

    • Optional options: DomSerializerOptions

      Options for serialization.

    Returns string