Function appendAfter

Append given node after reference node in the DOM

  • Parameters

    • newNode: HTMLElement

      New node element to be appended

    • referenceNode: HTMLElement

      Reference node element

    Returns boolean

    Result of the action