Strophe.js
    Preparing search index...

    Function copyElement

    • Copy an XML DOM element.

      This function copies a DOM element and all its descendants and returns the new copy.

      Parameters

      • node: Node

        A DOM element.

      Returns Element | Text

      A new, copied DOM element tree.

      Strophe.copyElement