|
|
@ -45,7 +45,7 @@ export class PageMenu extends HTMLElement { |
|
|
this.shadowRoot.appendChild(btn) |
|
|
this.shadowRoot.appendChild(btn) |
|
|
btn.addEventListener('click', () => { |
|
|
btn.addEventListener('click', () => { |
|
|
this.dispatchEvent(new CustomEvent( |
|
|
this.dispatchEvent(new CustomEvent( |
|
|
'close', {bubbles: true} |
|
|
'close-menu', {bubbles: true} |
|
|
)) |
|
|
)) |
|
|
handler() |
|
|
handler() |
|
|
}) |
|
|
}) |
|
|
|