update

  • function
 

Updates a nodeList with new items

nodeLists.update(nodeList, newNodes)

Updates a nodeList with new items

Parameters

  1. nodeList {Array<HTMLElement>}

    A registered nodeList.

  2. newNodes {Array<HTMLElement>}

    HTML nodes that should be placed in the nodeList.