replaceWith method
The Element.replaceWith()
method replaces this
Element
in the children list of its parent with a set of
Node
or string objects. String
objects are inserted as equivalent Text
nodes.
Implementation
external void replaceWith(JSAny nodes);