Skip to content

Commit 0f2b5fa

Browse files
authored
add aside header for visibility
1 parent 3b43f7c commit 0f2b5fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/lit-dev-content/site/docs/v3/components/shadow-dom.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,11 @@ get _slottedChildren() {
187187
}
188188
```
189189
190-
{% aside "info" "no-header" %}
190+
{% aside "info" %}
191191
192-
The elements are assigned only after the slot is rendered, so if you need to access assigned elements at startup, you need to wait for `firstUpdated` or `updated`. If you want to access assigned elements when your render changes, you can use `slotchange`.
192+
The elements are assigned only after the slot is rendered.
193+
194+
If you need to access assigned elements at startup, you need to wait for `firstUpdated` or `updated`. If you want to access assigned elements when your render changes, you can use `slotchange`.
193195
194196
{% endaside %}
195197

0 commit comments

Comments
 (0)