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 | 539 | January 24, 2022 | |
| Custom element dispatch event | 8 | 1289 | January 25, 2021 | |
| How to dispatch an Event? | 1 | 133 | January 18, 2023 | |
| receiving "$w(...).on is not a function" error | 2 | 183 | August 4, 2022 | |
| Using properties of custom script witih `on click` event | 1 | 211 | August 5, 2018 |