Skip to content

Commit

Permalink
bubble event
Browse files Browse the repository at this point in the history
  • Loading branch information
micaww committed Feb 13, 2024
1 parent 61f2639 commit ae19ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ class Component extends WebComponent {
}
}

this.dispatchEvent(new CustomEvent(`preComponentInitialized`));
this.dispatchEvent(new CustomEvent(`preComponentInitialized`, {bubbles: true, composed: true}));

this.domPatcher = new DOMPatcher(this.state, this._render.bind(this), {
updateMode: this.getConfig(`updateSync`) ? `sync` : `async`,
Expand Down

0 comments on commit ae19ca4

Please sign in to comment.