replaceChildren method

void replaceChildren(
  1. JSAny nodes
)

The Document.replaceChildren() method replaces the existing children of a Document with a specified new set of children.

Implementation

external void replaceChildren(JSAny nodes);