createEvent<T extends CustomEvent = any>(eventName: string,detail?: T["detail"],): unknown
Set up event listening for browser.
Determine all the browser events and set up global listeners for them. If browser triggers event
search for the lazy load URL and import()
it.
T extends CustomEvent = any