Skip to content

Commit 4124357

Browse files
authoredJul 10, 2022
Merge pull request #3090 from Aleksey28/shadow
fix: changed 'template' to '<custom-menu>'

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎8-web-components/5-slots-composition/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ The shadow DOM template with proper slots:
269269
```
270270

271271
1. `<span slot="title">` goes into `<slot name="title">`.
272-
2. There are many `<li slot="item">` in the template, but only one `<slot name="item">` in the template. So all such `<li slot="item">` are appended to `<slot name="item">` one after another, thus forming the list.
272+
2. There are many `<li slot="item">` in the `<custom-menu>`, but only one `<slot name="item">` in the template. So all such `<li slot="item">` are appended to `<slot name="item">` one after another, thus forming the list.
273273

274274
The flattened DOM becomes:
275275

0 commit comments

Comments
 (0)
Please sign in to comment.