replaceWith method

void replaceWith(
  1. JSAny nodes
)

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);