Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Better scaladoc for replaceWith
Co-authored-by: Arman Bilge <armanbilge@gmail.com>
  • Loading branch information
zetashift and armanbilge authored Aug 20, 2022
commit 731eeef711dd99ce1b77d05b771cefc991104253
2 changes: 1 addition & 1 deletion dom/src/main/scala/org/scalajs/dom/Element.scala
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ abstract class Element extends Node with NodeSelector with ParentNode with NonDo
/** Returns the open shadow root that is hosted by the element, or null if no open shadow root is present. */
def shadowRoot: ShadowRoot = js.native

/** The Element.replaceWith() method replaces this Element in the children list of its parent with a set of Node or
/** 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.
*/
def replaceWith(nodes: (Node | String)*): Unit = js.native
Expand Down