Skip to content

Commit 79c9513

Browse files
committed
closes #2358
1 parent 0936245 commit 79c9513

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
@@ -408,7 +408,7 @@ customElements.define('custom-menu', class extends HTMLElement {
408408
<ul><slot name="item"></slot></ul>
409409
</div>`;
410410
411-
// slottable is added/removed/replaced
411+
// triggers when slot content changes
412412
*!*
413413
this.shadowRoot.firstElementChild.addEventListener('slotchange', e => {
414414
let slot = e.target;

0 commit comments

Comments
 (0)