closes #2358
This commit is contained in:
parent
0936245a87
commit
79c9513796
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ customElements.define('custom-menu', class extends HTMLElement {
|
||||||
<ul><slot name="item"></slot></ul>
|
<ul><slot name="item"></slot></ul>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
// slottable is added/removed/replaced
|
// triggers when slot content changes
|
||||||
*!*
|
*!*
|
||||||
this.shadowRoot.firstElementChild.addEventListener('slotchange', e => {
|
this.shadowRoot.firstElementChild.addEventListener('slotchange', e => {
|
||||||
let slot = e.target;
|
let slot = e.target;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue