Function drekHost

  • Finds a host element of the given DOM node with respect to rendering targets.

    Crosses shadow DOM and rendered fragment bounds. In the latter case returns a rendering target host instead of the document fragment.

    Parameters

    • node: Node

      Target DOM element.

    Returns Element | undefined

    Either parent element of the given node, or undefined when not found.

Generated using TypeDoc