replaceChildren method
The Element.replaceChildren() method replaces the
existing children of a Node with a specified new set of children. These
can be string or Node objects.
Implementation
external void replaceChildren(JSAny nodes);
The Element.replaceChildren() method replaces the
existing children of a Node with a specified new set of children. These
can be string or Node objects.
external void replaceChildren(JSAny nodes);