A configured CustomEvent instance.
Native CustomEvent defaults to bubbles: false and composed: false.
JJ defaults both to true because cross-component custom events commonly need
to bubble out of Shadow DOM boundaries.
Pass options to override those defaults when you need a local-only event.
Creates a
CustomEventwith JJ's default bubbling and Shadow DOM settings.