• Extracts node contents from given node. All child-nodes will be removed from the given node.

    Parameters

    • node: Node

      node to extract node contents from

    Returns DocumentFragment

    fragment containing all child nodes