Emits an event to the host site as a CustomEvent.
The detail value (if any) will be used as the custom event's detail.
Optionaldetail: unknownEmits a prepared DOM event to the host site.
The event will be dispatched on the web component's dom node without being altered by this service.
You must take care to set the appropriate event options for your use case if you're using this overload (e.g. bubbles).
Emits events to users of the current web component.
Use the interface
"integration.ExternalEventService"to obtain an instance of this service.