Skip to content

Commit 3dbe87a

Browse files
committed
minor
1 parent e22e971 commit 3dbe87a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

5-network/06-url/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ It provides convenient methods for search parameters:
6969
- **`append(name, value)`** -- add the parameter,
7070
- **`delete(name)`** -- remove the parameter,
7171
- **`get(name)`** -- get the parameter,
72-
- **`getAll(name)`** -- get all parameters with that name,
72+
- **`getAll(name)`** -- get all parameters with that name (if many, e.g. `?user=John&user=Pete`),
7373
- **`has(name)`** -- check for the existance of the parameter,
7474
- **`set(name, value)`** -- set/replace the parameter,
7575
- **`sort()`** -- sort parameters by name, rarely needed,

8-web-components/5-slots-composition/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ The process of rendering slotted elements inside their slots is called "composit
420420
Composition does not really move nodes, from JavaScript point of view the DOM is still same.
421421

422422
JavaScript can access slots using methods:
423-
- `slot.assignedNodes/Elements()` -- returns nodes/elements inside the `slot`
423+
- `slot.assignedNodes/Elements()` -- returns nodes/elements inside the `slot`.
424424
- `node.assignedSlot` -- the reverse meethod, returns slot by a node.
425425

426426
If we'd like to know what we're showing, we can track slot contents using:

0 commit comments

Comments
 (0)