@lesjoursfr/browser-tools
    Preparing search index...

    Function replaceNodeWith

    • Replace a node.

      Parameters

      • node: HTMLElement

        the node to replace

      • replacement: HTMLElement

        the new node

      Returns HTMLElement

      the new node