Skip to content

Commit 731eeef

Browse files
Better scaladoc for replaceWith
Co-authored-by: Arman Bilge <[email protected]>
1 parent 4ddfa4d commit 731eeef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/src/main/scala/org/scalajs/dom/Element.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ abstract class Element extends Node with NodeSelector with ParentNode with NonDo
266266
/** Returns the open shadow root that is hosted by the element, or null if no open shadow root is present. */
267267
def shadowRoot: ShadowRoot = js.native
268268

269-
/** The Element.replaceWith() method replaces this Element in the children list of its parent with a set of Node or
269+
/** Replaces this Element in the children list of its parent with a set of Node or
270270
* string objects. String objects are inserted as equivalent Text nodes.
271271
*/
272272
def replaceWith(nodes: (Node | String)*): Unit = js.native

0 commit comments

Comments
 (0)