MAIDR JavaScript API
    Preparing search index...

    Function insertCopy

    • Puts a copy into the document: where a registered placement puts copies of its mark, or else straight after the element it was made from.

      The element a copy is made from is the mark itself, or a copy of it -- the highlight is copied from the hidden copy of the mark -- so a placement is asked about the mark that copy was made of.

      Parameters

      • source: Element

        The element the copy was made from, in the document

      • copy: Element

        The copy, not yet in the document

      Returns void