Returns the outer HTML for the given node as a string or an empty string if no node was specified. The outer HTML is the text representing all children of the node including the node itself.

  • Parameters

    • node: Element

      DOM node to return the outer HTML for.

    Returns string