We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a502ad commit 67f3de7Copy full SHA for 67f3de7
src/main/scala/org/scalajs/dom/raw/lib.scala
@@ -622,6 +622,13 @@ trait ParentNode extends js.Object {
622
* MDN
623
*/
624
def childElementCount: Int = js.native
625
+
626
+ /**
627
+ * Replaces the existing children of a Node with a specified new set of children.
628
+ *
629
+ * MDN
630
+ */
631
+ def replaceChildren(nodes: (Node | String)*): Unit = js.native
632
}
633
634
/**
0 commit comments