Hi, I am using a CustomElement with the ‘this.dispatchEvent’ function. However, the $w(“#myCustomElement”).on function never triggers. I have tried suggestions from other posts which dictate to shift around names of events, customElements, tags, etc. Has anyone had similar issues?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Custom Element event listener not triggered | 5 | 553 | January 24, 2022 | |
| Custom element dispatch event | 8 | 1313 | January 25, 2021 | |
| How to dispatch an Event? | 1 | 140 | January 18, 2023 | |
| Event listener for custom element | 14 | 612 | April 10, 2024 | |
| receiving "$w(...).on is not a function" error | 2 | 188 | August 4, 2022 |