Skip to content

Commit 5b823f3

Browse files
authored
fix: typo
1 parent 8a6f6c6 commit 5b823f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ setTimeout(() => {
440440
- 如果同一插槽中有很多元素 - 它们会被一个接一个地添加。
441441
- `<slot>` 元素的内容作为备用。如果插槽没有 light 型的子元素,就会显示。
442442

443-
在其槽内渲染插槽元素的过程称为“组合”。结果称为“扁平化 DOM”。
443+
在其插槽内渲染插槽元素的过程称为“组合”。结果称为“扁平化 DOM”。
444444

445445
组合不会真实的去移动节点,从 JavaScript 的视角看 DOM 仍然是相同的。
446446

0 commit comments

Comments
 (0)