You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/replaceWith.xml
+2-2
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
<desc>A function that returns content with which to replace the set of matched elements.</desc>
14
14
</argument>
15
15
</signature>
16
-
<desc>Replace each element in the set of matched elements with the provided new content.</desc>
16
+
<desc>Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.</desc>
17
17
<longdesc>
18
18
<p>The <code>.replaceWith()</code> method removes content from the DOM and inserts new content in its place with a single call. Consider this DOM structure:</p>
0 commit comments