Elementals.js

Latest Version: 3.0 RC 1 17 July 2017

Method _.Node.replace

Replaces one DOM node with another.

Calling Convention:
_.Node.remove(oldNode, newNode)
Parameters:
oldNode
The node to be removed.
newNode
The node to put in it's place
Returns:
A reference to newNode