Add event to signal responsive mode change
This commit is contained in:
@@ -101,6 +101,7 @@ class TpResponsiveMenu extends LitElement {
|
||||
|
||||
_queryUpdated(e) {
|
||||
this.responsive = e.detail;
|
||||
this.dispatchEvent(new CustomEvent('responsive-mode-changed', { detail: this.responsive, bubbles: true, composed: true }));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user