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.
replaceWith
1 parent 56d7fea commit e254e60Copy full SHA for e254e60
API.md
@@ -254,7 +254,7 @@ if (next && next.type !== 'combinator') {
254
}
255
```
256
257
-### `node.replaceWith(node)`
+### `node.replaceWith(node[,...nodeN])`
258
259
Replace a node with another.
260
@@ -267,6 +267,8 @@ attr.replaceWith(className);
267
Arguments:
268
269
* `node`: The node to substitute the original with.
270
+...
271
+* `nodeN`: The node to substitute the original with.
272
273
### `node.remove()`
274
0 commit comments