Function nodeDocument

  • Returns a document of the given DOM node.

    Parameters

    • node: Node

      Source node.

    Returns Document

    Either an ownerDocument, or a node itself if it is a document.

Generated using TypeDoc